I have one class assuming A and another class B in two different files A.php and B.php respectively.
How can I call a class A function in a B.php file without including the A.php file in B.php.
Is it possible to use a static function?
I saw one application in which they do not include a file and do not expand, but use a different file class function.
we can use a static property for what I tried, but not working on an idea.
they also do not use the autoload function
https://docs.google.com/a/artifex-online.com/file/d/0B6ta7daai0cYeEs0TEJ4OGRacVU/edit?usp=sharing
please read these files.
see the database class used in the user class.
source
share