method overloading
Posted: Fri Nov 21, 2008 1:59 am
hi can any one help me out i have a problem in my php code
the error is
error - Declaration of setup() should be compatible with that of setup()
but i am calling the function setup() of parent class as parent :: setup()
but still its showing the above error
public function setup($dbLink ,$ldapLink, $lang, $user) {
$errorArray = NULL;
$errorMsg = NULL;
$xml = '';
sample code
-----
----
in this i called
parent :: setup($dbLink , $ldapLink, $lang, $user,MODULE);
}
the error is
error - Declaration of setup() should be compatible with that of setup()
but i am calling the function setup() of parent class as parent :: setup()
but still its showing the above error
public function setup($dbLink ,$ldapLink, $lang, $user) {
$errorArray = NULL;
$errorMsg = NULL;
$xml = '';
sample code
-----
----
in this i called
parent :: setup($dbLink , $ldapLink, $lang, $user,MODULE);
}