« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 17 for addConfig (0.003 sec.)
設定で定義したルートをルーターに追加する 11362
« Yaf_Router Yaf_Router::addRoute » PHP Manual Yaf_Router 設定で定義したルートをルーターに追加する 検索 Yaf_Router::addConfig (Yaf >=1.0.0) Yaf_Router::addConfig — 設定で定義したルートをルーターに追加する 説明 public function Yaf_Router::addConfig ... tcher ) { $router = $dispatcher -> getRouter (); /** * we can add some pre-defined routes in application.ini */ $router -> addConfig ( Yaf_Registry :: get ( "config" )-> routes ); } } ?> 参考 Yaf_Router::addRoute() - 新しいルートをルーターに追加する Yaf_R ... write Yaf_Route_Map 関連キーワード: route Yaf routes name Router match ルート Route config type controller action ルーター addConfig map function Abstract request product router ...
https://man.mtool.work/php/8.3/yaf-router.addconfig.html
設定で定義したルートをルーターに追加する 11362
« Yaf_Router Yaf_Router::addRoute » PHP Manual Yaf_Router 設定で定義したルートをルーターに追加する 検索 Yaf_Router::addConfig (Yaf >=1.0.0) Yaf_Router::addConfig — 設定で定義したルートをルーターに追加する 説明 public function Yaf_Router::addConfig ... tcher ) { $router = $dispatcher -> getRouter (); /** * we can add some pre-defined routes in application.ini */ $router -> addConfig ( Yaf_Registry :: get ( "config" )-> routes ); } } ?> 参考 Yaf_Router::addRoute() - 新しいルートをルーターに追加する Yaf_R ... _Route_Rewrite Yaf_Route_Map 関連キーワード: route routes Router match ルート Route config type controller action ルーター addConfig Abstract request product router addRoute Config application rewrite regex list module Dispatcher Bootstrap ...
https://man.mtool.work/php/8.3/yaf-router.addconfig.html
新しいルートをルーターに追加する 10345
« Yaf_Router::addConfig Yaf_Router::__construct » PHP Manual Yaf_Router 新しいルートをルーターに追加する 検索 Yaf_Router::addRoute (Yaf >=1.0.0) Yaf_Router::addRoute — 新しいルートをルーターに追加する 説明 public function Yaf_Router::addRou ... tcher ) { $router = $dispatcher -> getRouter (); /** * we can add some pre-defined routes in application.ini */ $router -> addConfig ( Yaf_Registry :: get ( "config" )-> routes ); /** * add a Rewrite route, then for a request uri: * http://example.com/pro ... y( "controller" => "product" , "action" => "info" , ) ); $router -> addRoute ( 'dummy' , $route ); } } ?> 参考 Yaf_Router::addConfig() - 設定で定義したルートをルーターに追加する Yaf_Route_Static Yaf_Route_Supervar Yaf_Route_Simple Yaf_Route_Regex Yaf_Rout ... e_Rewrite Yaf_Route_Map 関連キーワード: Yaf ルート Route Router ルーター route addRoute config product addConfig function name router Rewrite Abstract Static スタック 以外 パラメータ Dispatcher ...
https://man.mtool.work/php/8.3/yaf-router.addroute.html
新しいルートをルーターに追加する 10345
« Yaf_Router::addConfig Yaf_Router::__construct » PHP Manual Yaf_Router 新しいルートをルーターに追加する 検索 Yaf_Router::addRoute (Yaf >=1.0.0) Yaf_Router::addRoute — 新しいルートをルーターに追加する 説明 public function Yaf_Router::addRou ... tcher ) { $router = $dispatcher -> getRouter (); /** * we can add some pre-defined routes in application.ini */ $router -> addConfig ( Yaf_Registry :: get ( "config" )-> routes ); /** * add a Rewrite route, then for a request uri: * http://example.com/pro ... y( "controller" => "product" , "action" => "info" , ) ); $router -> addRoute ( 'dummy' , $route ); } } ?> 参考 Yaf_Router::addConfig() - 設定で定義したルートをルーターに追加する Yaf_Route_Static Yaf_Route_Supervar Yaf_Route_Simple Yaf_Route_Regex Yaf_Rout ... e_Rewrite Yaf_Route_Map 関連キーワード: ルート Route Router ルーター route addRoute config product addConfig router Rewrite Abstract Static スタック Dispatcher Bootstrap Registry dispatcher routes list controller action info constr ...
https://man.mtool.work/php/8.3/yaf-router.addroute.html
Yaf_Route_Rewrite のコンストラクタ 10086
« Yaf_Route_Rewrite::assemble Yaf_Route_Rewrite::route » PHP Manual Yaf_Route_Rewrite Yaf_Route_Rewrite のコンストラクタ 検索 Yaf_Route_Rewrite::__construct (Yaf >=1.0.0) Yaf_Route_Rewrite::__construct — Yaf_Route_Rewrite のコンストラクタ 説 ... "id" => 22, "foo" => bar ) 例2 Yaf_Route_Rewrite の例 <?php /** * Add a rewrite route to Yaf_Router route stack by calling addconfig */ $config = array( "name" => array( "type" => "rewrite" , //Yaf_Route_Rewrite route "match" => "/user-list/:id" , //match ... to user controller, 'action' => "list" , //route to list action ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 上の例の出力は、 たとえば以下のようになります。 /* http://yourdomain.com/user-lis ... ute to user controller, 'action' => ":a" , //route to :a action ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 上の例の出力は、 たとえば以下のようになります。 /* http://yourdomain.com/user-lis ...
https://man.mtool.work/php/8.3/yaf-route-rewrite.construct.html
The __construct purpose 9328
« Yaf_Route_Map::assemble Yaf_Route_Map::route » PHP Manual Yaf_Route_Map The __construct purpose 検索 Yaf_Route_Map::__construct (Yaf >=1.0.0) Yaf_Route_Map::__construct — The __construct purpose 説明 public function Yaf_Route_Map::__const ... になります */ array( "foo" => 22, ) 例3 Yaf_Route_Map の例 <?php /** * Add a map route to Yaf_Router route stack by calling addconfig */ $config = array( "name" => array( "type" => "map" , //Yaf_Route_Map route "controllerPrefer" => FALSE , "delimiter" => ... "#!" , ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 参考 Yaf_Router::addRoute() - 新しいルートをルーターに追加する Yaf_Route_Static Y ... getInstance getRouter addRoute prefer product user list config assemble コントローラ アクション action リクエスト calling addconfig type controllerPrefer ...
https://man.mtool.work/php/8.3/yaf-route-map.construct.html
Yaf_Route_Rewrite のコンストラクタ 9190
« Yaf_Route_Rewrite::assemble Yaf_Route_Rewrite::route » PHP Manual Yaf_Route_Rewrite Yaf_Route_Rewrite のコンストラクタ 検索 Yaf_Route_Rewrite::__construct (Yaf >=1.0.0) Yaf_Route_Rewrite::__construct — Yaf_Route_Rewrite のコンストラクタ 説 ... "id" => 22, "foo" => bar ) 例2 Yaf_Route_Rewrite の例 <?php /** * Add a rewrite route to Yaf_Router route stack by calling addconfig */ $config = array( "name" => array( "type" => "rewrite" , //Yaf_Route_Rewrite route "match" => "/user-list/:id" , //match ... to user controller, 'action' => "list" , //route to list action ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 上の例の出力は、 たとえば以下のようになります。 /* http://yourdomain.com/user-lis ... ute to user controller, 'action' => ":a" , //route to :a action ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 上の例の出力は、 たとえば以下のようになります。 /* http://yourdomain.com/user-lis ...
https://man.mtool.work/php/8.3/yaf-route-rewrite.construct.html
Yaf_Router クラス 8690
« Yaf_Route_Rewrite::route Yaf_Router::addConfig » PHP Manual Yaf Yaf_Router クラス 検索 Yaf_Router クラス (Yaf >=1.0.0) はじめに Yaf_Router は、フレームワークの標準のルーターです。 ルーティングとは、URI エンドポイント (URI の中で、ベース U ... * プロパティ */ protected $ _routes ; protected $ _current ; /* メソッド */ public function __construct () public function addConfig ( Yaf_Config_Abstract $config ): bool public function addRoute ( string $name , Yaf_Route_Abstract $route ): bool public f ... トで使ったルートの名前がここに入ります。 この名前を取得するには Yaf_Router::getCurrentRoute() を使います。 目次 Yaf_Router::addConfig — 設定で定義したルートをルーターに追加する Yaf_Router::addRoute — 新しいルートをルーターに追加する Yaf_Router::__construct ... ーラ controller リライト ルール action blog archive Route route Abstract アクション module example ルーティング rewrite list addConfig ルーター Request リクエスト 最初 Apache ...
https://man.mtool.work/php/8.3/class.yaf-router.html
Yaf_Route_Regex のコンストラクタ 8431
« Yaf_Route_Regex::assemble Yaf_Route_Regex::route » PHP Manual Yaf_Route_Regex Yaf_Route_Regex のコンストラクタ 検索 Yaf_Route_Regex::__construct (Yaf >=1.0.0) Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ 説明 public fun ... n the match pattern. ) ) ); ?> 例4 Yaf_Route_Regex の例 <?php /** * Add a regex route to Yaf_Router route stack by calling addconfig */ $config = array( "name" => array( "type" => "regex" , //Yaf_Route_Regex route "match" => "#(.*)#" , //match arbitrary r ... ray( 1 => "uri" , // now you can call $request->getParam("uri") ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 参考 Yaf_Router::addRoute() - 新しいルートをルーターに追加する Yaf_Router::addCon ...
https://man.mtool.work/php/8.3/yaf-route-regex.construct.html
Yaf_Route_Regex のコンストラクタ 8431
« Yaf_Route_Regex::assemble Yaf_Route_Regex::route » PHP Manual Yaf_Route_Regex Yaf_Route_Regex のコンストラクタ 検索 Yaf_Route_Regex::__construct (Yaf >=1.0.0) Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ 説明 public fun ... n the match pattern. ) ) ); ?> 例4 Yaf_Route_Regex の例 <?php /** * Add a regex route to Yaf_Router route stack by calling addconfig */ $config = array( "name" => array( "type" => "regex" , //Yaf_Route_Regex route "match" => "#(.*)#" , //match arbitrary r ... ray( 1 => "uri" , // now you can call $request->getParam("uri") ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 参考 Yaf_Router::addRoute() - 新しいルートをルーターに追加する Yaf_Router::addCon ...
https://man.mtool.work/php/8.3/yaf-route-regex.construct.html
PREV 1 2 NEXT