Basically I'm wondering how to instantiate another class while already within a class.. I know it's possible I'm just not sure...
Here's basically what I need:
Template File - Holds the page that you're going to see (The RAW HTML), this file instantiates the $INIT class.
init.php - This is the class that holds all the pre-defined variables as well I'm HOPING this is where we'll instantiate additional classes like $Skin to make the template Dynamic.
So hopefully once I've instantiated the two successfully I can call normal predefined global variables like $INIT->GLOBALURL; as well as call functions from other classes like so: $INIT->Skin->Do_HTML_Header();
Any ideas?
Here's basically what I need:
Template File - Holds the page that you're going to see (The RAW HTML), this file instantiates the $INIT class.
init.php - This is the class that holds all the pre-defined variables as well I'm HOPING this is where we'll instantiate additional classes like $Skin to make the template Dynamic.
So hopefully once I've instantiated the two successfully I can call normal predefined global variables like $INIT->GLOBALURL; as well as call functions from other classes like so: $INIT->Skin->Do_HTML_Header();
Any ideas?