« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for yafcontroller (0.001 sec.)
Yaf_Route_Static::assemble — URL を組み立てる | PHP 8.3 11924
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 戻り値 文字列を返し ... 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 rou ...
https://man.mtool.work/php/8.3/yaf-route-static.assemble.html
Yaf_Route_Simple::assemble — URLを組み立てる | PHP 8.3 8147
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 戻り値 文字列を返しま ... 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 clas ...
https://man.mtool.work/php/8.3/yaf-route-simple.assemble.html
Yaf_Route_Supervar::assemble — URL を組み立てる | PHP 8.3 7813
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 戻り値 文字列を ... ute ); 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 ( 'sup ... eption $e ) { var_dump ( $e -> getMessage ()); } 上の例の出力は、 たとえば以下のようになります。 string(%d) "?r=/yafmodule/yafcontroller/yafaction&tkey1=tval1&tkey2=tval2" string(%d) "You need to specify the controller by ':c'" 他のマニュアルの関連ページ Linu ...
https://man.mtool.work/php/8.3/yaf-route-supervar.assemble.html
PREV 1 NEXT