fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13910] manual: rename constructor


From: Sigurd Nes
Subject: [Fmsystem-commits] [13910] manual: rename constructor
Date: Tue, 15 Sep 2015 10:56:15 +0000

Revision: 13910
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13910
Author:   sigurdne
Date:     2015-09-15 10:56:14 +0000 (Tue, 15 Sep 2015)
Log Message:
-----------
manual: rename constructor

Modified Paths:
--------------
    trunk/manual/inc/class.help.inc.php
    trunk/manual/inc/class.help_helper.inc.php

Modified: trunk/manual/inc/class.help.inc.php
===================================================================
--- trunk/manual/inc/class.help.inc.php 2015-09-15 10:53:28 UTC (rev 13909)
+++ trunk/manual/inc/class.help.inc.php 2015-09-15 10:56:14 UTC (rev 13910)
@@ -50,7 +50,7 @@
 
                /* This is the constructor for the object. */
 
-               function help($reset = False)
+               function __construct($reset = False)
                {
                        $this->lang                     = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
                        $this->title            = '';
@@ -290,4 +290,3 @@
                return $str;
        }*/
        }
-?>

Modified: trunk/manual/inc/class.help_helper.inc.php
===================================================================
--- trunk/manual/inc/class.help_helper.inc.php  2015-09-15 10:53:28 UTC (rev 
13909)
+++ trunk/manual/inc/class.help_helper.inc.php  2015-09-15 10:56:14 UTC (rev 
13910)
@@ -28,9 +28,9 @@
 
        class help_helper extends help
        {
-               function help_helper()
+               function __construct()
                {
-                       $this->help();
+                       parent::__construct();
                }
 
                function set_params($param)
@@ -104,4 +104,3 @@
                        $this->draw_box();
                }
        }
-?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]