How do I reference a static variable from within a static function in the same class?
I am trying:
class SQL {
public static $partsNetTotalPounds = '...';
public static function margin()
{
return '('.$this->partsNetTotalPounds...
}
}
Ofcourse this does not work because I haven't instantiated the object SQL.
How can this be done?
SQL::$partsNetTotalPoundsorself::$partsNetTotalPounds