update : 2015.11.03
php.shukuma.com검색:
|
Yaf_Route_Simple::__construct(Yaf >=1.0.0) Yaf_Route_Simple::__construct — Yaf_Route_Simple constructor 설명
publicYaf_Route_Simple::__construct
( string
$module_name
, string $controller_name
, string $action_name
)Yaf_Route_Simple will get route info from query string. and the parameters of this constructor will used as keys while searching for the route info in $_GET. Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다. 인수
반환값
Always return 예제Example #1 Yaf_Route_Simple::route()example
<?php Example #2 Yaf_Route_Simple::route()example Request: http://yourdomain.com/path/?controller=a&act=b => module = default(index), controller = a, action = b Request: http://yourdomain.com/path => module = default(index), controller = default(index), action = default(index) 참고
|