Re: runtime access to static variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Unfortunately, in the inherited DeployTask::execute(), "self::$STEPS"
> does not refer to UpdateTask::$STEPS, it refers to DeployTask::$STEPS

Use parent::$STEPS and call it done?

Yes, I know, if you add another layer of class in between, then it's not parent:: anymore, but it seems a bit less convoluted than the reflection solution, to this naive user...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux