*/ class Mage_Api_Model_Acl_Assert_Time implements Zend_Acl_Assert_Interface { /** * Assert time * * @param Zend_Acl $acl * @param Zend_Acl_Role_Interface $role * @param Zend_Acl_Resource_Interface $resource * @param string $privilege * @return boolean */ public function assert(Mage_Api_Model_Acl $acl, Mage_Api_Model_Acl_Role $role = null, Mage_Api_Model_Acl_Resource $resource = null, $privilege = null) { return $this->_isCleanTime(time()); } protected function _isCleanTime($time) { // ... } }