Results of 1 - 10 of about 26 for getInstance (0.003 sec.)
- Yaf_Loader::getInstance — The getInstance purpose | PHP 8.3 12844
- Yaf_Loader::getInstance (Yaf >=1.0.0) Yaf_Loader::getInstance — The getInstance purpose 説明 public static function Yaf_Loader::getInstance (): void 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
...
-
https://man.mtool.work/php/8.3/yaf-loader.getinstance.html
- Yaf_Session::getInstance — The getInstance purpose | PHP 8.3 12629
- Yaf_Session::getInstance (Yaf >=1.0.0) Yaf_Session::getInstance — The getInstance purpose 説明 public static function Yaf_Session::getInstance (): void 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています
...
-
https://man.mtool.work/php/8.3/yaf-session.getinstance.html
- Yaf_Dispatcher::getInstance — ディスパッチャのインスタンスを取得する | PHP 8.3 11489
- Yaf_Dispatcher::getInstance (Yaf >=1.0.0) Yaf_Dispatcher::getInstance — ディスパッチャのインスタンスを取得する 説明 public static function Yaf_Dispatcher::getInstance (): Yaf_Dispatcher パラメータ この関数にはパラメータはありません。 戻り値
...
-
https://man.mtool.work/php/8.3/yaf-dispatcher.getinstance.html
- Yaf_Session クラス | PHP 8.3 9488
- Yaf_Session クラス (Yaf >=1.0.0) はじめに クラス概要 class Yaf_Session implements Iterator , ArrayAccess , Countable { /* プロパティ */ protected static $ _instance ; protected $ _session ; protected $ _started ; /* メソッド */ private func
... nt (): void public function del ( string $name ): void public function __get ( string $name ): void public static function getInstance (): void public function has ( string $name ): void public function __isset ( string $name ): void public function key (): ... sion::current — The current purpose Yaf_Session::del — The del purpose Yaf_Session::__get — The __get purpose Yaf_Session::getInstance — The getInstance purpose Yaf_Session::has — The has purpose Yaf_Session::__isset — The __isset purpose Yaf_Session::key — ...
-
https://man.mtool.work/php/8.3/class.yaf-session.html
- Yaf_Route_Map::__construct — The __construct purpose | PHP 8.3 9273
- Yaf_Route_Map::__construct (Yaf >=1.0.0) Yaf_Route_Map::__construct — The __construct purpose 説明 public function Yaf_Route_Map::__construct ( string $controller_prefer = false , string $delimiter = "" ) パラメータ controller_prefer 結果を
... すか。 delimiter 戻り値 例 例1 Yaf_Route_Map の例 <?php /** * Add a map route to Yaf_Router route stack */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Map ()); ?> 上の例の出力は、 たとえば以下のようになります。 /* http: ... => "product_foo_bar", ) 例2 Yaf_Route_Map の例 <?php /** * Add a map route to Yaf_Router route stack */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Map ( true , "_" )); ?> 上の例の出力は、 たとえば以下のようになります ... array( "type" => "map" , //Yaf_Route_Map route "controllerPrefer" => FALSE , "delimiter" => "#!" , ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 参考 Yaf_Router::addRoute() - 新しいルートをルーター ...
-
https://man.mtool.work/php/8.3/yaf-route-map.construct.html
- Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ | PHP 8.3 9273
- Yaf_Route_Regex::__construct (Yaf >=1.0.0) Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ 説明 public function Yaf_Route_Regex::__construct ( string $match , array $route , array $map = ? , array $verify = ? , string $rever
... されました。 戻り値 例 例1 Yaf_Route_Regex の例 <?php /** * Add a regex route to Yaf_Router route stack */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Regex ( "#^/product/([^/]+)/([^/])+#" , //match request uri leading ... tch pattern. ) ) ); ?> 例2 Yaf_Route_Regex (2.3.0 以降) の例 <?php /** * Use match result as MVC name */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Regex ( "#^/product/([^/]+)/([^/])+#i" , //match request uri leading ... f_Route_Regex と名前付きキャプチャグループ (2.3.0 以降) の例 <?php /** * Use match result as MVC name */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Regex ( "#^/product/(?<name>[^/]+)/([^/])+#i" , //match request uri ...
-
https://man.mtool.work/php/8.3/yaf-route-regex.construct.html
- Yaf_Loader クラス | PHP 8.3 9075
- Yaf_Loader クラス (Yaf >=1.0.0) はじめに Yaf_Loader は、 Yaf 用に包括的なオートローディング機能を導入します。 最初に Yaf_Application のインスタンスを取得するときに、 Yaf_Loader はシングルトンのインスタンスを作って それを spl_autoload に登録
... します。このインスタンスを取得するには Yaf_Loader::getInstance() を使います。 Yaf_Loader は、クラスのロードを一度だけ試みます。 失敗した場合の挙動は yaf.use_spl_autoload によって変わりま ... の登録 <?php class Bootstrap extends Yaf_Bootstrap_Abstract { public function _initLoader ( $dispatcher ) { Yaf_Loader :: getInstance ()-> registerLocalNameSpace (array( "Foo" , "Bar" )); } } ?> オートロードの例です。 例3 クラスのロード class Foo_Bar_Test ... ction __construct () public function autoload (): void public function clearLocalNamespace (): void public static function getInstance (): void public function getLibraryPath ( bool $is_global = false ): Yaf_Loader public function getLocalNamespace (): void ...
-
https://man.mtool.work/php/8.3/class.yaf-loader.html
- Yaf_Route_Rewrite::__construct — Yaf_Route_Rewrite のコンストラクタ | PHP 8.3 8331
- Yaf_Route_Rewrite::__construct (Yaf >=1.0.0) Yaf_Route_Rewrite::__construct — Yaf_Route_Rewrite のコンストラクタ 説明 public function Yaf_Route_Rewrite::__construct ( string $match , array $route , array $verify = ? ) パラメータ match リクエ
... verify 戻り値 例 例1 Yaf_Route_Rewrite の例 <?php /** * Add a rewrite route to Yaf_Router route stack */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Rewrite ( "/product/:name/:id/*" , //match request uri leading "/pro ... controller' => "user" , //route to user controller, 'action' => "list" , //route to list action ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 上の例の出力は、 たとえば以下のようになります。 /* ... y( 'controller' => "user" , //route to user controller, 'action' => ":a" , //route to :a action ), ), ); Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addConfig ( new Yaf_Config_Simple ( $config )); ?> 上の例の出力は、 たとえば以下のようになります。 /* ...
-
https://man.mtool.work/php/8.3/yaf-route-rewrite.construct.html
- Yet Another Framework (Yaf) | PHP 8.3 8017
- Yet Another Framework (Yaf) はじめに Yet Another Framework ( Yaf ) 拡張モジュールは PHP のフレームワークで、ウェブアプリケーションの開発に使います。 ちょっとした Yaf のベンチマークが » Yaf Performance にあります。 手っ取り早く使い始めるには
... — Retrieve the default controller name Yaf_Dispatcher::getDefaultModule — Retrieve the default module name Yaf_Dispatcher::getInstance — ディスパッチャのインスタンスを取得する Yaf_Dispatcher::getRequest — リクエストのインスタンスを取得する Yaf_Dispatcher::g ... oader::clearLocalNamespace — The clearLocalNamespace purpose Yaf_Loader::__construct — The __construct purpose Yaf_Loader::getInstance — The getInstance purpose Yaf_Loader::getLibraryPath — ライブラリパスを取得する Yaf_Loader::getLocalNamespace — The getLoc ... sion::current — The current purpose Yaf_Session::del — The del purpose Yaf_Session::__get — The __get purpose Yaf_Session::getInstance — The getInstance purpose Yaf_Session::has — The has purpose Yaf_Session::__isset — The __isset purpose Yaf_Session::key — ...
-
https://man.mtool.work/php/8.3/book.yaf.html
- Yaf_Dispatcher クラス | PHP 8.3 7604
- Yaf_Dispatcher クラス (Yaf >=1.0.0) はじめに Yaf_Dispatcher の役割は、 リクエスト環境の初期化、やってきたリクエストのルーティング、 そして見つかったアクションへのディスパッチです。 あらゆるレスポンスを取りまとめ、処理が完了した後でそれを返し
... ing public function getDefaultController (): ? string public function getDefaultModule (): ? string public static function getInstance (): Yaf_Dispatcher public function getRequest (): Yaf_Request_Abstract public function getResponse (): ? Yaf_Response_Abst ... — Retrieve the default controller name Yaf_Dispatcher::getDefaultModule — Retrieve the default module name Yaf_Dispatcher::getInstance — ディスパッチャのインスタンスを取得する Yaf_Dispatcher::getRequest — リクエストのインスタンスを取得する Yaf_Dispatcher::g ...
-
https://man.mtool.work/php/8.3/class.yaf-dispatcher.html