__construct

This commit is contained in:
Buchholz 2021-10-24 19:12:07 +02:00
parent ff7f10747b
commit 5906a2b1ca
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ defined('is_running') or die('Not an entry point...');
class Example_Map{
function Example_Map(){
function __construct(){
global $page, $addonRelativeCode;
//add css and js to <head>

View file

@ -2,7 +2,7 @@
defined('is_running') or die('Not an entry point...');
class Example_Ajax{
function Example_Ajax(){
function __construct(){
global $page, $addonRelativeCode;
//prepare the page