public function __construct($container) { $this->container = $container; \Zend_Registry::set('container', $this->container); }