overiding functions (constructors mostly)

From: Date: Sun, 24 Oct 2004 19:30:13 +0000
Subject: overiding functions (constructors mostly)
Groups: php.general 
Request: Send a blank email to php-general+get-200197@lists.php.net to get a copy of this message
I want to override the constructor for a class i am writing but when i try it says i cant redefine it. Is the a whay to have two (or more) functions with the same name that accept different agrumants and calls the right one based on the arguments (it would have to be based on number of args because of the loose typing of php.). "Knowledge is power, Those who have it must share with those who don't" -Walter Wojcik --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today!

« previous php.general (#200197) next »