[eluser]Tom Taila[/eluser]
[quote author="noctrum" date="1282081982"]It's a function that gets called with the object is instantiated. parent::{class name} and parent::__construct() are identical, the latter being php5 only. If you don't define one, the parent's is automatically called, so they are only necessary if you are doing anything other than what's in the parent constructor.[/quote]
hmm im still not 100% sure i get it, sorry i know im being a pest, but you said 'its a function that gets called when the object is instantiated.' But where is this function defined? do i define this somewhere manually prior to using the parent::[classname] function or is it a preset function which has a specific use??
you also said 'only necessary if your doin anythin other than whats in the parent constructor.' Stupid question probably but what is the 'parent constructor' , i dunno what a constructor is?? :S sorry again for the bother and thanks a lot