diff --git a/addons/--Plugin_Examples/01_Map.php b/addons/--Plugin_Examples/01_Map.php index e1271a0..584ff96 100644 --- a/addons/--Plugin_Examples/01_Map.php +++ b/addons/--Plugin_Examples/01_Map.php @@ -3,7 +3,7 @@ defined('is_running') or die('Not an entry point...'); class Example_Map{ - function __construct(){ + public function __construct(){ global $page, $addonRelativeCode; //add css and js to
diff --git a/addons/--Plugin_Examples/02_Ajax.php b/addons/--Plugin_Examples/02_Ajax.php index b08507e..9000803 100644 --- a/addons/--Plugin_Examples/02_Ajax.php +++ b/addons/--Plugin_Examples/02_Ajax.php @@ -2,7 +2,7 @@ defined('is_running') or die('Not an entry point...'); class Example_Ajax{ - function __construct(){ + public function __construct(){ global $page, $addonRelativeCode; //prepare the page diff --git a/addons/Example/Admin.php b/addons/Example/Admin.php index 77dbf2a..636e58d 100644 --- a/addons/Example/Admin.php +++ b/addons/Example/Admin.php @@ -7,7 +7,7 @@ defined('is_running') or die('Not an entry point...'); class Admin{ - function __construct(){ + public function __construct(){ echo 'This is an example of a Typesetter Addon in the form of a Admin page.
'; diff --git a/addons/Example/Gadget.php b/addons/Example/Gadget.php index 2106cd5..962d410 100644 --- a/addons/Example/Gadget.php +++ b/addons/Example/Gadget.php @@ -6,7 +6,7 @@ defined('is_running') or die('Not an entry point...'); class Gadget{ - function __construct(){ + public function __construct(){ echo 'This is an example of a Typesetter Addon in the form of a Special page.
'; diff --git a/addons/Example/Special_Admin.php b/addons/Example/Special_Admin.php index 56e3524..20d8b48 100644 --- a/addons/Example/Special_Admin.php +++ b/addons/Example/Special_Admin.php @@ -7,7 +7,7 @@ defined('is_running') or die('Not an entry point...'); class Special_Admin extends \Addon\Example\Special{ - function __construct(){ + public function __construct(){ echo 'This is an example of a Typesetter Addon in the form of a Special page.
';