downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Yaf_Route_Simple::__construct> <Yaf_Router::route
[edit] Last updated: Fri, 17 May 2013

view this page in

Yaf_Route_Simple クラス

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

導入

Yaf_Route_Simple は、クエリ文字列を見てルート情報を取得します。

Yaf_Route_Simple に対して必要な設定は、 $_GET のどのキーがモジュールでどのキーがコントローラ、 そしてどのキーがアクションなのかを指定することです。

Yaf_Route_Simple::route() は常に TRUE を返します。 そこで、Yaf_Route_Simple はルートスタックの先頭に置く必要があります。 そうしないと、他のルートは決して呼ばれなくなります。

クラス概要

Yaf_Route_Simple implements Yaf_Route_Interface {
/* プロパティ */
protected $controller ;
protected $module ;
protected $action ;
/* メソッド */
public __construct ( string $module_name , string $controller_name , string $action_name )
public bool route ( Yaf_Request_Abstract $request )
}

プロパティ

controller

module

action

目次



add a note add a note User Contributed Notes Yaf_Route_Simple - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites