public function testStaticSetGetFromZend() { Waf_Registry::set('foo', 'bat'); $this->assertEquals('bat', Zend_Registry::get('Waf_foo')); }
/** * Enters the object in the registry, using the name of the class as the index. */ public function register() { Waf_Registry::set(get_class($this), $this); }
/** * Defined by Waf_Registry_RegisterableInterface */ public function register() { Waf_Registry::set('Waf_Model', $this); }