« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for controllers (0.005 sec.)
例外のスローのオン/オフを切り替える 12505
« Yaf_Dispatcher::setView Yaf_Config_Abstract » PHP Manual Yaf_Dispatcher 例外のスローのオン/オフを切り替える 検索 Yaf_Dispatcher::throwException (Yaf >=1.0.0) Yaf_Dispatcher::throwException — 例外のスローのオン/オフを切り替える 説明 public ... on $e ) { var_dump ( $e -> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(59) "Could not find controller script /tmp/controllers/Index.php" 例2 Yaf_Dispatcher::throwexception() の例 <?php $config = array( 'application' => array( ... n (); ?> 上の例の出力は、 たとえば以下のようになります。 PHP Catchable fatal error: Yaf_Application::run(): Could not find controller script /tmp/controllers/Index.php in /tmp/1.php on line 12 参考 Yaf_Dispatcher::catchException() - 例外のキャッチのオン/オフ ... オン オフ config application Application flag スロー キャッチ throwexception directory dirname getDispatcher Exception find controller script controllers Index setView Config Abstract 予期 dispatcher ...
https://man.mtool.work/php/8.3/yaf-dispatcher.throwexception.html
直近で発生したエラーのメッセージを取得する 10895
« Yaf_Application::getDispatcher Yaf_Application::getLastErrorNo » PHP Manual Yaf_Application 直近で発生したエラーのメッセージを取得する 検索 Yaf_Application::getLastErrorMsg (Yaf >=2.1.2) Yaf_Application::getLastErrorMsg — 直近で発生したエ ... er" , E_RECOVERABLE_ERROR ); $app -> run (); ?> 上の例の出力は、 たとえば以下のようになります。 string(69) "Could not find controller script /tmp/notexists/controllers/Index.php" 関連キーワード: Application getLastErrorMsg 直近 メッセージ getDispatcher hand ... xists getLastErrorNo errno errstr errline dump application directory dispatcher throwException スロー setErrorHandler find controller script controllers Index ...
https://man.mtool.work/php/8.3/yaf-application.getlasterrormsg.html
Yaf_Loader クラス 10665
« Yaf_View_Simple::setScriptPath Yaf_Loader::autoload » PHP Manual Yaf Yaf_Loader クラス 検索 Yaf_Loader クラス (Yaf >=1.0.0) はじめに Yaf_Loader は、 Yaf 用に包括的なオートローディング機能を導入します。 最初に Yaf_Application のインスタンス ... 読み込むようにも作られています。 次のような規約に従います。 例5 MVC クラスのロード Controller Classes => // APPLICATION_PATH/controllers/ Model Classes => // APPLICATION_PATH/models/ Plugin Classes => // APPLICATION_PATH/plugins/ クラスのサフィックス (デフォル ... es => // ***Model Plugin Classes => // ***Plugin 例を示します。 例7 MVC のロード class IndexController // APPLICATION_PATH/controllers/Index.php class DataModel => // APPLICATION_PATH/models/Data.php class DummyPlugin => // APPLICATION_PATH/plugins/Dummy.ph ... スできます)。 しかし、オートローダーがコントローラクラスを探す場所は、デフォルトのモジュールフォルダつまり "APPLICATION_PATH/controllers/" だけになります。 また、ディレクトリは yaf.lowcase_path の影響を受けます。 クラス概要 class Yaf_Loader { /* プロパティ */ ...
https://man.mtool.work/php/8.3/class.yaf-loader.html
例外のスローのオン/オフを切り替える 10205
« Yaf_Dispatcher::setView Yaf_Config_Abstract » PHP Manual Yaf_Dispatcher 例外のスローのオン/オフを切り替える 検索 Yaf_Dispatcher::throwException (Yaf >=1.0.0) Yaf_Dispatcher::throwException — 例外のスローのオン/オフを切り替える 説明 public ... on $e ) { var_dump ( $e -> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(59) "Could not find controller script /tmp/controllers/Index.php" 例2 Yaf_Dispatcher::throwexception() の例 <?php $config = array( 'application' => array( ... n (); ?> 上の例の出力は、 たとえば以下のようになります。 PHP Catchable fatal error: Yaf_Application::run(): Could not find controller script /tmp/controllers/Index.php in /tmp/1.php on line 12 参考 Yaf_Dispatcher::catchException() - 例外のキャッチのオン/オフ ...
https://man.mtool.work/php/8.3/yaf-dispatcher.throwexception.html
Yaf_Loader クラス 9516
« Yaf_View_Simple::setScriptPath Yaf_Loader::autoload » PHP Manual Yaf Yaf_Loader クラス 検索 Yaf_Loader クラス (Yaf >=1.0.0) はじめに Yaf_Loader は、 Yaf 用に包括的なオートローディング機能を導入します。 最初に Yaf_Application のインスタンス ... 読み込むようにも作られています。 次のような規約に従います。 例5 MVC クラスのロード Controller Classes => // APPLICATION_PATH/controllers/ Model Classes => // APPLICATION_PATH/models/ Plugin Classes => // APPLICATION_PATH/plugins/ クラスのサフィックス (デフォル ... es => // ***Model Plugin Classes => // ***Plugin 例を示します。 例7 MVC のロード class IndexController // APPLICATION_PATH/controllers/Index.php class DataModel => // APPLICATION_PATH/models/Data.php class DummyPlugin => // APPLICATION_PATH/plugins/Dummy.ph ... スできます)。 しかし、オートローダーがコントローラクラスを探す場所は、デフォルトのモジュールフォルダつまり "APPLICATION_PATH/controllers/" だけになります。 また、ディレクトリは yaf.lowcase_path の影響を受けます。 クラス概要 class Yaf_Loader { /* プロパティ */ ...
https://man.mtool.work/php/8.3/class.yaf-loader.html
直近で発生したエラーのメッセージを取得する 8118
« Yaf_Application::getDispatcher Yaf_Application::getLastErrorNo » PHP Manual Yaf_Application 直近で発生したエラーのメッセージを取得する 検索 Yaf_Application::getLastErrorMsg (Yaf >=2.1.2) Yaf_Application::getLastErrorMsg — 直近で発生したエ ... er" , E_RECOVERABLE_ERROR ); $app -> run (); ?> 上の例の出力は、 たとえば以下のようになります。 string(69) "Could not find controller script /tmp/notexists/controllers/Index.php" 関連キーワード: Yaf Application getLastErrorMsg 発生 app 直近 メッセージ array ...
https://man.mtool.work/php/8.3/yaf-application.getlasterrormsg.html
例外のキャッチのオン/オフを切り替える 7658
« Yaf_Dispatcher::autoRender Yaf_Dispatcher::__construct » PHP Manual Yaf_Dispatcher 例外のキャッチのオン/オフを切り替える 検索 Yaf_Dispatcher::catchException (Yaf >=1.0.0) Yaf_Dispatcher::catchException — 例外のキャッチのオン/オフを切り替え ... if some error occur, assuming access a non-exists controller(or you can throw a exception yourself): */ 404:Could not find controller script **/application/controllers/No-exists-controller.php 参考 Yaf_Dispatcher::throwException() - 例外のスローのオン/オフを ...
https://man.mtool.work/php/8.3/yaf-dispatcher.catchexception.html
例外のキャッチのオン/オフを切り替える 7658
« Yaf_Dispatcher::autoRender Yaf_Dispatcher::__construct » PHP Manual Yaf_Dispatcher 例外のキャッチのオン/オフを切り替える 検索 Yaf_Dispatcher::catchException (Yaf >=1.0.0) Yaf_Dispatcher::catchException — 例外のキャッチのオン/オフを切り替え ... if some error occur, assuming access a non-exists controller(or you can throw a exception yourself): */ 404:Could not find controller script **/application/controllers/No-exists-controller.php 参考 Yaf_Dispatcher::throwException() - 例外のスローのオン/オフを ...
https://man.mtool.work/php/8.3/yaf-dispatcher.catchexception.html
例 7428
« 定義済み定数 アプリケーションの設定 » PHP Manual Yaf 例 検索 例 例1 標準的なアプリケーションのディレクトリ構造 - index.php - .htaccess + conf |- application.ini // アプリケーションの設定 - application/ - Bootstrap.php + controllers - Inde ...
https://man.mtool.work/php/8.3/yaf.tutorials.html
例 7428
« 定義済み定数 アプリケーションの設定 » PHP Manual Yaf 例 検索 例 例1 標準的なアプリケーションのディレクトリ構造 - index.php - .htaccess + conf |- application.ini // アプリケーションの設定 - application/ - Bootstrap.php + controllers - Inde ...
https://man.mtool.work/php/8.3/yaf.tutorials.html
PREV 1 2 NEXT