男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

Yaf_Dispatcher 類(lèi)

(Yaf >=1.0.0)

簡(jiǎn)介

Yaf_Dispatcher用于初始化處理請求的運行環(huán)境, 它協(xié)調路由來(lái)的請求, 并分發(fā)和執行發(fā)現的動(dòng)作, 然后收集動(dòng)作產(chǎn)生的響應, 輸出響應給請求者, 并在整個(gè)過(guò)程完成以后返回響應.

Yaf_Dispatcher是單例模式運行的, 也就是說(shuō)自始至終只生成一個(gè)Yaf_Dispatcher實(shí)例, 因此, 可以把它看成是在分發(fā)過(guò)程中生成的對象的注冊表, 可以從中獲取到分發(fā)過(guò)程中產(chǎn)生的對象.

類(lèi)摘要

final class Yaf_Dispatcher {
/* 屬性 */
protected $_router;
protected $_view;
protected $_request;
protected $_plugins;
protected static $_instance;
protected $_auto_render;
protected $_default_module;
protected $_default_action;
/* 方法 */
public autoRender(bool $flag): Yaf_Dispatcher
public catchException(bool $flag = ?): Yaf_Dispatcher
public__construct()
public disableView(): bool
public flushInstantly(bool $flag): Yaf_Dispatcher
public getDefaultAction(): string
public getDefaultController(): string
public getDefaultModule(): string
public static getInstance(): Yaf_Dispatcher
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
public throwException(bool $flag = ?): Yaf_Dispatcher
}

屬性

_router

_view

_request

_plugins

_instance

_auto_render

_return_response

_instantly_flush

_default_module

_default_controller

_default_action

目錄

男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站