Call parent class constructor in PHP5

How to call the constructor of a parent class in the child.
Author: Nate Baxley
Published Date:4/2/2008
This is handy when you have things that happen in the constructor of all children, but one place where there is some extra stuff that needs to happen.  Rather than duplicate the common things, just call the parent constructor.
parent::Node($rTypes);
In this will call the parent class name Node it will pass the row record variable that was passed to the child constructor.
RSS Feed Log In to access RSS feeds.


Remember me on this computer

This Item Tagged as


Hover over an item above for
more information