My class structure is as follows,
Class Core{
public $Variable = "Test";
Class SubClass{
// functions, etc
}
// functions etc
}
I need to access the variable $Variable from within the SubClass class, but I cannot think of a way to do it. I have tried $this->this->Variable
without success.
Edit While this is incorrect syntax, this is how my class system is setup (and is achieved using includes).