Yaf_Dispatcher 锟斤拷

(Yaf >=1.0.0)

锟斤拷锟�

Yaf_Dispatcher锟斤拷锟节筹拷始锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷谢锟斤拷锟�, 锟斤拷协锟斤拷路锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷, 锟斤拷锟街凤拷锟斤拷执锟叫凤拷锟街的讹拷锟斤拷, 然锟斤拷锟秸硷拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷应, 锟斤拷锟斤拷锟接︼拷锟斤拷锟斤拷锟斤拷锟�, 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷院蠓祷锟斤拷锟接�.

Yaf_Dispatcher锟角碉拷锟斤拷模式锟斤拷锟叫碉拷, 也锟斤拷锟斤拷说锟斤拷始锟斤拷锟斤拷只锟斤拷锟斤拷一锟斤拷Yaf_Dispatcher实锟斤拷, 锟斤拷锟�, 锟斤拷锟皆帮拷锟斤拷锟斤拷锟斤拷锟斤拷锟节分凤拷锟斤拷锟斤拷锟斤拷锟斤拷锟缴的讹拷锟斤拷锟阶拷锟斤拷, 锟斤拷锟皆达拷锟叫伙拷取锟斤拷锟街凤拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟侥讹拷锟斤拷.

锟斤拷摘要

final Yaf_Dispatcher {
/* 锟斤拷锟斤拷 */
protected $_router ;
protected $_view ;
protected $_request ;
protected $_plugins ;
protected static $_instance ;
protected $_auto_render ;
protected $_return_response ;
protected $_instantly_flush ;
protected $_default_module ;
protected $_default_action ;
/* 锟斤拷锟斤拷 */
public autoRender ( bool $flag ) : Yaf_Dispatcher
public catchException ([ bool $flag ] ) : Yaf_Dispatcher
private __clone ( void ) : void
public__construct ( void )
public disableView ( void ) : bool
public enableView ( void ) : Yaf_Dispatcher
public flushInstantly ( bool $flag ) : Yaf_Dispatcher
public getApplication ( void ) : Yaf_Application
public static getInstance ( void ) : Yaf_Dispatcher
public getRequest ( void ) : Yaf_Request_Abstract
public getRouter ( void ) : Yaf_Router
public initView ( string $templates_dir [, array $options ] ) : Yaf_View_Interface
public returnResponse ( bool $flag ) : Yaf_Dispatcher
public setDefaultAction ( string $action ) : Yaf_Dispatcher
public setDefaultController ( string $controller ) : Yaf_Dispatcher
public setDefaultModule ( string $module ) : Yaf_Dispatcher
public setErrorHandler ( call $callback , int $error_types ) : Yaf_Dispatcher
private __sleep ( void ) : void
public throwException ([ bool $flag ] ) : Yaf_Dispatcher
private __wakeup ( void ) : void
}

锟斤拷锟斤拷

_router

_view

_request

_plugins

_instance

_auto_render

_return_response

_instantly_flush

_default_module

_default_controller

_default_action

Table of Contents