Can you override a static class method?
I need to override the
eg:
class child extends parent
{
function &getConnection()
{
return "fred";
}
function fetch()
{
return parent::fethobject();
}
}
class parent
{
function &getConnection()
{
return "bob";
}
function fetchobject()
{
NEED TO CALL CHILDS GETCONNECTION HERE WITHOUT SAYING
child::getConnection();
AS THIS BREAKS THE INHARITANCE
}
}
is this possible?