PHP Coding Tips

Tuesday, March 19, 2013

Call superclass method in object oriented PHP application

You can call parent methods using :: operator, as in example below:parent::init( 'aaa' );This situation works also, when dealing with static methods.

No comments:

Post a Comment