I have a project with global variables.
Among others also with a global class definition
1.php
Code:
require_once("../intern/classGlobal.inc");
= new bp\GC\gv();
How can I access all properties and methods of the defined class in a other project file?
2.php
Code:
global ;
Attachment:
1.jpg [ 14.77 KiB | Viewed 216347 times ]
But there is much more, here the call within the class
Attachment:
2.jpg [ 15.38 KiB | Viewed 216347 times ]
I have a project with global variables.
Among others also with a global class definition
1.php
[code]require_once("../intern/classGlobal.inc");
$bpGC = new bp\GC\gv();
[/code]
How can I access all properties and methods of the defined class in a other project file?
2.php
[code]global $bpGC;[/code][attachment=1]1.jpg[/attachment]
But there is much more, here the call within the class[attachment=0]2.jpg[/attachment]