Results of 1 - 3 of about 3 for yafaction (0.001 sec.)
- Yaf_Route_Static::assemble — URL を組み立てる | PHP 8.3 11700
- Yaf_Route_Static::assemble (Yaf >=2.3.0) Yaf_Route_Static::assemble — URL を組み立てる 説明 public function Yaf_Route_Static::assemble ( array $info , array $query = ? ): string URL を組み立てます。 パラメータ info query 戻り値 文字列を返し
... ic (); $router -> addRoute ( "static" , $route ); var_dump ( $router -> getRoute ( 'static' )-> assemble ( array( ':a' => 'yafaction' , 'tkey' => 'tval' , ':c' => 'yafcontroller' , ':m' => 'yafmodule' ), ) ); var_dump ( $router -> getRoute ( 'static' )-> ... assemble ( array( ':a' => 'yafaction' , 'tkey' => 'tval' , ':c' => 'yafcontroller' , ':m' => 'yafmodule' ), array( 'tkey1' => 'tval1' , 'tkey2' => 'tval2' ) ) ... ); 上の例の出力は、 たとえば以下のようになります。 string(%d) "/yafmodule/yafcontroller/yafaction" string(%d) "/yafmodule/yafcontroller/yafaction?tkey1=tval1&tkey2=tval2" 他のマニュアルの関連ページ Linux JM route(8) Fast ...
-
https://man.mtool.work/php/8.3/yaf-route-static.assemble.html
- Yaf_Route_Supervar::assemble — URL を組み立てる | PHP 8.3 9022
- Yaf_Route_Supervar::assemble (Yaf >=2.3.0) Yaf_Route_Supervar::assemble — URL を組み立てる 説明 public function Yaf_Route_Supervar::assemble ( array $info , array $query = ? ): string URL を組み立てます パラメータ info query 戻り値 文字列を
... ); $router -> addRoute ( "supervar" , $route ); var_dump ( $router -> getRoute ( 'supervar' )-> assemble ( array( ':a' => 'yafaction' , 'tkey' => 'tval' , ':c' => 'yafcontroller' , ':m' => 'yafmodule' ), array( 'tkey1' => 'tval1' , 'tkey2' => 'tval2' ) )) ... ; try { var_dump ( $router -> getRoute ( 'supervar' )-> assemble ( array( ':a' => 'yafaction' , 'tkey' => 'tval' , ':m' => 'yafmodule' ), array( 'tkey1' => 'tval1' , 'tkey2' => 'tval2' , 1 => array(), ) )); } catch ... var_dump ( $e -> getMessage ()); } 上の例の出力は、 たとえば以下のようになります。 string(%d) "?r=/yafmodule/yafcontroller/yafaction&tkey1=tval1&tkey2=tval2" string(%d) "You need to specify the controller by ':c'" 他のマニュアルの関連ページ Linux JM route ...
-
https://man.mtool.work/php/8.3/yaf-route-supervar.assemble.html
- Yaf_Route_Simple::assemble — URLを組み立てる | PHP 8.3 7161
- Yaf_Route_Simple::assemble (Yaf >=2.3.0) Yaf_Route_Simple::assemble — URLを組み立てる 説明 public function Yaf_Route_Simple::assemble ( array $info , array $query = ? ): string URLを組み立てます。 パラメータ info query 戻り値 文字列を返しま
... 'a' ); $router -> addRoute ( "simple" , $route ); var_dump ( $router -> getRoute ( 'simple' )-> assemble ( array( ':a' => 'yafaction' , 'tkey' => 'tval' , ':c' => 'yafcontroller' , ':m' => 'yafmodule' ), array( 'tkey1' => 'tval1' , 'tkey2' => 'tval2' ) )) ... ; 上の例の出力は、 たとえば以下のようになります。 string(64) "?m=yafmodule&c=yafcontroller&a=yafaction&tkey1=tval1&tkey2=tval2" 他のマニュアルの関連ページ Linux JM route(8) FastAPI Custom Request and APIRoute class ...
-
https://man.mtool.work/php/8.3/yaf-route-simple.assemble.html
PREV
1
NEXT