Results of 1 - 10 of about 18 for catchException (0.002 sec.)
- 例外のキャッチのオン/オフを切り替える 12525
- « Yaf_Dispatcher::autoRender Yaf_Dispatcher::__construct » PHP Manual Yaf_Dispatcher 例外のキャッチのオン/オフを切り替える 検索 Yaf_Dispatcher::catchException (Yaf >=1.0.0) Yaf_Dispatcher::catchException — 例外のキャッチのオン/オフを切り替え
... る 説明 public function Yaf_Dispatcher::catchException ( bool $flag = ? ): Yaf_Dispatcher application.dispatcher.throwException が On (あるいは Yaf_Dispatcher::throwException(TR ... UE)() で有効にした) 場合、Yaf でエラーが発生したときに例外をスローします。 そのとき、 Yaf_Dispatcher::catchException() を有効にする (あるいは application.dispatcher.catchException で有効にする) と、 もし ErrorController::error を定義してい ... れば キャッチしなかった例外はすべて ErrorController::error に送られます。 パラメータ flag bool 戻り値 例 例1 Yaf_Dispatcher::catchException() の例 /* 次のような ErrorController を定義しているものとします */ <?php class ErrorController extends Yaf_Controller_Abst ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.catchexception.html
- 例外のキャッチのオン/オフを切り替える 12525
- « Yaf_Dispatcher::autoRender Yaf_Dispatcher::__construct » PHP Manual Yaf_Dispatcher 例外のキャッチのオン/オフを切り替える 検索 Yaf_Dispatcher::catchException (Yaf >=1.0.0) Yaf_Dispatcher::catchException — 例外のキャッチのオン/オフを切り替え
... る 説明 public function Yaf_Dispatcher::catchException ( bool $flag = ? ): Yaf_Dispatcher application.dispatcher.throwException が On (あるいは Yaf_Dispatcher::throwException(TR ... UE)() で有効にした) 場合、Yaf でエラーが発生したときに例外をスローします。 そのとき、 Yaf_Dispatcher::catchException() を有効にする (あるいは application.dispatcher.catchException で有効にする) と、 もし ErrorController::error を定義してい ... れば キャッチしなかった例外はすべて ErrorController::error に送られます。 パラメータ flag bool 戻り値 例 例1 Yaf_Dispatcher::catchException() の例 /* 次のような ErrorController を定義しているものとします */ <?php class ErrorController extends Yaf_Controller_Abst ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.catchexception.html
- アプリケーションの設定 9883
- « 例 Yaf_Application » PHP Manual Yaf アプリケーションの設定 検索 アプリケーションの設定 設定内容を記した配列か、あるいは ini ファイルへのパス ( Yaf_Config_Ini を参照ください) を Yaf_Application::__construct() に渡さなければいけません。 Yaf
... HP の配列の例 <?php $configs = array( "application" => array( "directory" => dirname ( __FILE__ ), "dispatcher" => array( "catchException" => 0 , ), "view" => array( "ext" => "phtml" , ), ), ); $app = new Yaf_Application ( $configs ); ?> 例2 ini ファイルの例 [ ... yaf] yaf.directory = APPLICATION_PATH "/application" yaf.dispatcher.catchException = 0 [product : yaf] ; user configuration list here Yaf アプリケーション設定 名前 デフォルト 変更履歴 application.directory ... application.baseUri "" application.dispatcher.defaultRoute application.dispatcher.throwException 1 application.dispatcher.catchException 0 application.dispatcher.defaultModule "index" application.dispatcher.defaultController "index" application.dispatcher.def ...
-
https://man.mtool.work/php/8.3/yaf.appconfig.html
- アプリケーションの設定 9883
- « 例 Yaf_Application » PHP Manual Yaf アプリケーションの設定 検索 アプリケーションの設定 設定内容を記した配列か、あるいは ini ファイルへのパス ( Yaf_Config_Ini を参照ください) を Yaf_Application::__construct() に渡さなければいけません。 Yaf
... HP の配列の例 <?php $configs = array( "application" => array( "directory" => dirname ( __FILE__ ), "dispatcher" => array( "catchException" => 0 , ), "view" => array( "ext" => "phtml" , ), ), ); $app = new Yaf_Application ( $configs ); ?> 例2 ini ファイルの例 [ ... yaf] yaf.directory = APPLICATION_PATH "/application" yaf.dispatcher.catchException = 0 [product : yaf] ; user configuration list here Yaf アプリケーション設定 名前 デフォルト 変更履歴 application.directory ... application.baseUri "" application.dispatcher.defaultRoute application.dispatcher.throwException 1 application.dispatcher.catchException 0 application.dispatcher.defaultModule "index" application.dispatcher.defaultController "index" application.dispatcher.def ...
-
https://man.mtool.work/php/8.3/yaf.appconfig.html
- Yaf_Dispatcher のコンストラクタ 9471
- « Yaf_Dispatcher::catchException Yaf_Dispatcher::disableView » PHP Manual Yaf_Dispatcher Yaf_Dispatcher のコンストラクタ 検索 Yaf_Dispatcher::__construct (Yaf >=1.0.0) Yaf_Dispatcher::__construct — Yaf_Dispatcher のコンストラクタ 説明 publi
... :__construct () パラメータ この関数にはパラメータはありません。 戻り値 関連キーワード: Dispatcher コンストラクタ construct catchException disableView ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.construct.html
- Yaf_Dispatcher のコンストラクタ 9385
- « Yaf_Dispatcher::catchException Yaf_Dispatcher::disableView » PHP Manual Yaf_Dispatcher Yaf_Dispatcher のコンストラクタ 検索 Yaf_Dispatcher::__construct (Yaf >=1.0.0) Yaf_Dispatcher::__construct — Yaf_Dispatcher のコンストラクタ 説明 publi
... パラメータ この関数にはパラメータはありません。 戻り値 関連キーワード: Yaf Dispatcher コンストラクタ construct パラメータ catchException Search disableView function 戻り値 navigate Enter select Esc close open ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.construct.html
- 自動レンダリングのオン/オフを切り替える 8527
- « Yaf_Dispatcher Yaf_Dispatcher::catchException » PHP Manual Yaf_Dispatcher 自動レンダリングのオン/オフを切り替える 検索 Yaf_Dispatcher::autoRender (Yaf >=1.0.0) Yaf_Dispatcher::autoRender — 自動レンダリングのオン/オフを切り替える 説明 publ
... Dispatcher レンダリング autoRender オン オフ flag function bool リクエスト メソッド アクション パラメータ 場合 init Search catchException ディスパッチ 自動的 無効 ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.autorender.html
- 自動レンダリングのオン/オフを切り替える 8527
- « Yaf_Dispatcher Yaf_Dispatcher::catchException » PHP Manual Yaf_Dispatcher 自動レンダリングのオン/オフを切り替える 検索 Yaf_Dispatcher::autoRender (Yaf >=1.0.0) Yaf_Dispatcher::autoRender — 自動レンダリングのオン/オフを切り替える 説明 publ
... たとえば以下のようになります。 関連キーワード: Dispatcher レンダリング autoRender オン オフ flag リクエスト アクション init catchException ディスパッチ 自動的 無効 回避 省略 IndexController extends Controller Abstract コントローラ 初期化 getRequest isXmlHttpReq ...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.autorender.html
- Yaf_Dispatcher クラス 7927
- « Yaf_Bootstrap_Abstract Yaf_Dispatcher::autoRender » PHP Manual Yaf Yaf_Dispatcher クラス 検索 Yaf_Dispatcher クラス (Yaf >=1.0.0) はじめに Yaf_Dispatcher の役割は、 リクエスト環境の初期化、やってきたリクエストのルーティング、 そして見つか
... * メソッド */ public function __construct () public function autoRender ( bool $flag = ? ): Yaf_Dispatcher public function catchException ( bool $flag = ? ): Yaf_Dispatcher public function disableView (): bool public function dispatch ( Yaf_Request_Abstract $r ... fault_controller _default_action 目次 Yaf_Dispatcher::autoRender — 自動レンダリングのオン/オフを切り替える Yaf_Dispatcher::catchException — 例外のキャッチのオン/オフを切り替える Yaf_Dispatcher::__construct — Yaf_Dispatcher のコンストラクタ Yaf_Dispatcher::disa ...
-
https://man.mtool.work/php/8.3/class.yaf-dispatcher.html
- Yaf_Dispatcher クラス 7927
- « Yaf_Bootstrap_Abstract Yaf_Dispatcher::autoRender » PHP Manual Yaf Yaf_Dispatcher クラス 検索 Yaf_Dispatcher クラス (Yaf >=1.0.0) はじめに Yaf_Dispatcher の役割は、 リクエスト環境の初期化、やってきたリクエストのルーティング、 そして見つか
... * メソッド */ public function __construct () public function autoRender ( bool $flag = ? ): Yaf_Dispatcher public function catchException ( bool $flag = ? ): Yaf_Dispatcher public function disableView (): bool public function dispatch ( Yaf_Request_Abstract $r ... fault_controller _default_action 目次 Yaf_Dispatcher::autoRender — 自動レンダリングのオン/オフを切り替える Yaf_Dispatcher::catchException — 例外のキャッチのオン/オフを切り替える Yaf_Dispatcher::__construct — Yaf_Dispatcher のコンストラクタ Yaf_Dispatcher::disa ...
-
https://man.mtool.work/php/8.3/class.yaf-dispatcher.html