Is it possible to override a function dynamically in Zend? 

class My_Core_Default_Api extends Zend_Mail_Transport_Sendmail
{
    public function getApi()
    {
        echo "Old Api";
    }
}

class My_Core_New_Api extends Zend_Mail_Transport_Sendmail
{
    public function getApi()
    {
        echo "New Api";
    }
}


Here I would like to override Core_Default_Api-&gt;getApi() with Core_New_Api-&gt;getApi(). Any suggestions please


Question: Device including RTC EEPROM and battery?
Answer: There a few RTC modules out there, here is one option that uses the DS1307 (which has 56 bytes of EEPROM IIRC) and has an onboard battery:

Sparkfun RTC module

 

Another one here with 236 bytes of non-volatile memory (battery holder on underside):