//Zend 自定义派遣器 写法 默认继承接口 /** * 这里自定义设置派遣器 默认继承了Custom_Controller_Dispatcher_Interface接口 * @link http://www.cnblogs.com/terryglp/articles/1775778.html * @return Zend_Controller_Dispatcher */ public function setDispatcher(Custom_Controller_Dispatcher_Interface $dispatcher) { $this->_dispatcher = $dispatcher; return $this; }