« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 28 for indexAction (0.001 sec.)
Get controller name 11175
« Yaf_Controller_Abstract::getModuleName Yaf_Controller_Abstract::getRequest » PHP Manual Yaf_Controller_Abstract Get controller name 検索 Yaf_Controller_Abstract::getName (Yaf >=3.2.0) Yaf_Controller_Abstract::getName — Get controller name ... Yaf_Controller_Abstract::getName() example <?php class ProductController extends Yaf_Controller_Abstract { public function indexAction () { // the controller name, without the "Controller" suffix var_dump ( $this -> getName ()); } } ?> 上の例の出力は、 たと ... ワード: Controller Abstract controller getName getModuleName getControllerName getRequest example ProductController extends indexAction without suffix dump Product 参考 Request ...
https://man.mtool.work/php/8.3/yaf-controller-abstract.getname.html
値をエンジンに設定する 10929
« Yaf_View_Simple::render Yaf_View_Simple::setScriptPath » PHP Manual Yaf_View_Simple 値をエンジンに設定する 検索 Yaf_View_Simple::__set (Yaf >=1.0.0) Yaf_View_Simple::__set — 値をエンジンに設定する 説明 public function Yaf_View_Simple::__s ... 戻り値 例 例1 Yaf_View_Simple::__set() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()-> foo = "bar" ; // assign("foo", "bar"); と同じ意味 } } ?> 参考 Yaf_View_Simple::assignRef() - Th ... キーワード: View エンジン assign 変数 assignRef render setScriptPath mixed 方法 IndexController extends Controller Abstract indexAction getView 意味 参考 Interface ビュー 代入 ...
https://man.mtool.work/php/8.3/yaf-view-simple.set.html
代入した値をクリアする 10667
« Yaf_View_Simple::assignRef Yaf_View_Simple::__construct » PHP Manual Yaf_View_Simple 代入した値をクリアする 検索 Yaf_View_Simple::clear (Yaf >=2.2.0) Yaf_View_Simple::clear — 代入した値をクリアする 説明 public function Yaf_View_Simple::cl ... 戻り値 例 例1 Yaf_View_Simple::clear() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()-> clear ( "foo" )-> clear ( "bar" ); // "foo" と "bar" をクリアします。 $this -> _view -> clear ( ... 定する 関連キーワード: View クリア clear 代入 assignRef 変数 エンジン construct IndexController extends Controller Abstract indexAction getView view 参考 Interface assign ビュー ...
https://man.mtool.work/php/8.3/yaf-view-simple.clear.html
Remove all parameters 10421
« Yaf_Request_Abstract Yaf_Request_Abstract::get » PHP Manual Yaf_Request_Abstract Remove all parameters 検索 Yaf_Request_Abstract::clearParams (Yaf >=3.2.0) Yaf_Request_Abstract::clearParams — Remove all parameters 説明 public function Yaf ... Yaf_Request_Abstract::clearParams() example <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $request = $this -> getRequest (); $request -> setParam ( "referrer" , "newsletter" ); var_dump ( $request -> getPara ... rams Remove parameters setParam referrer getParam newsletter dump router itself example IndexController extends Controller indexAction getRequest 参考 リクエスト getParams ...
https://man.mtool.work/php/8.3/yaf-request-abstract.clearparams.html
Fetch a POST parameter 10159
« Yaf_Request_Abstract::getParams Yaf_Request_Abstract::getQuery » PHP Manual Yaf_Request_Abstract Fetch a POST parameter 検索 Yaf_Request_Abstract::getPost (Yaf >=3.2.2) Yaf_Request_Abstract::getPost — Fetch a POST parameter 説明 public fu ... 例1 Yaf_Request_Abstract::getPost() example <?php class LoginController extends Yaf_Controller_Abstract { public function indexAction () { // Assuming the form was submitted with POST /login if ( $this -> getRequest ()-> isPost ()) { $username = $this -> g ... remember getQuery mixed getParams Retrieves omitted whole returned return found example LoginController extends Controller indexAction Assuming ...
https://man.mtool.work/php/8.3/yaf-request-abstract.getpost.html
Fetch a query parameter 10159
« Yaf_Request_Abstract::getPost Yaf_Request_Abstract::getRaw » PHP Manual Yaf_Request_Abstract Fetch a query parameter 検索 Yaf_Request_Abstract::getQuery (Yaf >=3.2.2) Yaf_Request_Abstract::getQuery — Fetch a query parameter 説明 public fu ... 例1 Yaf_Request_Abstract::getQuery() example <?php class SearchController extends Yaf_Controller_Abstract { public function indexAction () { // Assuming the request is /search?keyword=yaf&page=2 $keyword = $this -> getRequest ()-> getQuery ( "keyword" ); $pa ... getRequest getPost mixed getRaw Retrieves omitted whole returned return found example SearchController extends Controller indexAction Assuming ...
https://man.mtool.work/php/8.3/yaf-request-abstract.getquery.html
Fetch a REQUEST variable 10159
« Yaf_Request_Abstract::getRaw Yaf_Request_Abstract::getRequestUri » PHP Manual Yaf_Request_Abstract Fetch a REQUEST variable 検索 Yaf_Request_Abstract::getRequest (Yaf >=3.2.2) Yaf_Request_Abstract::getRequest — Fetch a REQUEST variable 説 ... Yaf_Request_Abstract::getRequest() example <?php class SearchController extends Yaf_Controller_Abstract { public function indexAction () { // Assuming the request is /search?keyword=yaf $keyword = $this -> getRequest ()-> getRequest ( "keyword" ); $source ... d parameter getRaw getRequestUri Retrieves omitted whole returned return found example SearchController extends Controller indexAction Assuming request dump ...
https://man.mtool.work/php/8.3/yaf-request-abstract.getrequest.html
値を代入する 10159
« Yaf_View_Simple Yaf_View_Simple::assignRef » PHP Manual Yaf_View_Simple 値を代入する 検索 Yaf_View_Simple::assign (Yaf >=1.0.0) Yaf_View_Simple::assign — 値を代入する 説明 public function Yaf_View_Simple::assign ( string $name , mixed $va ... 戻り値 例 例1 Yaf_View_Simple::assign() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()-> assign ( "foo" , "bar" ); $this -> _view -> assign ( array( "key" => "value" , "name" => "value ... iew assign 代入 assignRef エンジン head title body vars mixed 変数 ビュー 必須 IndexController extends Controller Abstract indexAction getView view テンプレート foreach 参考 Interface clear ...
https://man.mtool.work/php/8.3/yaf-view-simple.assign.html
The assignRef purpose 9668
« Yaf_View_Simple::assign Yaf_View_Simple::clear » PHP Manual Yaf_View_Simple The assignRef purpose 検索 Yaf_View_Simple::assignRef (Yaf >=1.0.0) Yaf_View_Simple::assignRef — The assignRef purpose 説明 public function Yaf_View_Simple::assig ... り値 例 例1 Yaf_View_Simple::assignRef() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $value = "bar" ; $this -> getView ()-> assign ( "foo" , $value ); /* Yaf 2.1.4 より前のバージョンにはバグがあり、 * こ ... n 代入 index エンジン テンプレート getView head title changed body clear mixed IndexController extends Controller Abstract indexAction バグ dummy render phtml レンダリング 無効 ...
https://man.mtool.work/php/8.3/yaf-view-simple.assignref.html
別のアクションに転送する 9160
« Yaf_Controller_Abstract::display Yaf_Controller_Abstract::getInvokeArg » PHP Manual Yaf_Controller_Abstract 別のアクションに転送する 検索 Yaf_Controller_Abstract::forward (Yaf >=1.0.0) Yaf_Controller_Abstract::forward — 別のアクションに転 ... 例1 Yaf_Controller_Abstract::forward() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction (){ $logined = $_SESSION [ "login" ]; if (! $logined ) { $this -> forward ( "login" , array( "from" => "Index" )); // logi ... request -> getParam ( "from" ) , " action" ; } } ?> 上の例の出力は、 たとえば以下のようになります。 login, redirected from Index action 参考 Yaf_Request_Abstrace::getParam() 関連キーワード: Controller Abstract アクション forward 転送 action login paramters ... ller 移動先 module フロー logined Index redirected getParam display getInvokeArg コントローラ 成功 IndexController extends indexAction return 作業 ...
https://man.mtool.work/php/8.3/yaf-controller-abstract.forward.html
PREV 1 2 3 NEXT