Php Coding Question: Static Functions
I've recently discovered the power of static functions but I am not sure that I am using them correctly. I am able to solve problems much more quickly with them, but I guess I have a question of placement when using static functions.
Say I've got a main page class called Page and within the class I have a static function:
static function getAnswer()
This static function is calling another static function that is in the same class Page. Instead of saying Page:: is there anyway to say Self:: or something like that? Basically trying to say $this->::getNum() but that of course is not correct. I just don't want to hard code the class name, incase I want to pull these out later and build their own static-function build variables class or something. I would like each static function to be able to call other static functions in the same class.