« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 70 for loader (0.006 sec.)
Alias of getLocalNamespace 9389
« Yaf_Loader::getNamespacePath Yaf_Loader::import » PHP Manual Yaf_Loader Alias of getLocalNamespace 検索 Yaf_Loader::getNamespaces (Yaf >=3.2.0) Yaf_Loader::getNamespaces — Alias of getLocalNamespace 説明 public function Yaf_Loader::getNam ... espaces (): array Alias of Yaf_Loader::getLocalNamespace() . パラメータ この関数にはパラメータはありません。 戻り値 An array of the registered local namespaces, ... keyed by the namespace prefix, or an empty array if none are registered. 例 例1 Yaf_Loader::getNamespaces() example <?php $app = new Yaf_Application ( __DIR__ . "/conf/application.ini" ); $loader = Yaf_Loader :: g ... etInstance (); $loader -> registerLocalNamespace (array( "Models" , "Services" )); /* getNamespaces() is an alias of getLocalNamespace() */ var_d ...
https://man.mtool.work/php/8.3/yaf-loader.getnamespaces.html
Alias of getLocalNamespace 9389
« Yaf_Loader::getNamespacePath Yaf_Loader::import » PHP Manual Yaf_Loader Alias of getLocalNamespace 検索 Yaf_Loader::getNamespaces (Yaf >=3.2.0) Yaf_Loader::getNamespaces — Alias of getLocalNamespace 説明 public function Yaf_Loader::getNam ... espaces (): array Alias of Yaf_Loader::getLocalNamespace() . パラメータ この関数にはパラメータはありません。 戻り値 An array of the registered local namespaces, ... keyed by the namespace prefix, or an empty array if none are registered. 例 例1 Yaf_Loader::getNamespaces() example <?php $app = new Yaf_Application ( __DIR__ . "/conf/application.ini" ); $loader = Yaf_Loader :: g ... etInstance (); $loader -> registerLocalNamespace (array( "Models" , "Services" )); /* getNamespaces() is an alias of getLocalNamespace() */ var_d ...
https://man.mtool.work/php/8.3/yaf-loader.getnamespaces.html
Retrieve the library path of a class 9332
« Yaf_Loader::getLocalNamespace Yaf_Loader::getNamespaces » PHP Manual Yaf_Loader Retrieve the library path of a class 検索 Yaf_Loader::getNamespacePath (Yaf >=3.2.0) Yaf_Loader::getNamespacePath — Retrieve the library path of a class 説明 ... public function Yaf_Loader::getNamespacePath ( string $class_name ): string Retrieve the library directory a class would be looked up in. パラメータ ... mespace, otherwise the global library directory (falling back to the local one when the global one is not set). 例 例1 Yaf_Loader::getNamespacePath() example <?php $app = new Yaf_Application ( __DIR__ . "/conf/application.ini" ); $loader = Yaf_Loader : ... : getInstance (); $loader -> registerLocalNamespace ( "Models" ); $loader -> setLibraryPath ( "/usr/local/share/yaf/library" , true ); /* "Models" i ...
https://man.mtool.work/php/8.3/yaf-loader.getnamespacepath.html
Retrieve the library path of a class 9304
« Yaf_Loader::getLocalNamespace Yaf_Loader::getNamespaces » PHP Manual Yaf_Loader Retrieve the library path of a class 検索 Yaf_Loader::getNamespacePath (Yaf >=3.2.0) Yaf_Loader::getNamespacePath — Retrieve the library path of a class 説明 ... public function Yaf_Loader::getNamespacePath ( string $class_name ): string Retrieve the library directory a class would be looked up in. パラメータ ... mespace, otherwise the global library directory (falling back to the local one when the global one is not set). 例 例1 Yaf_Loader::getNamespacePath() example <?php $app = new Yaf_Application ( __DIR__ . "/conf/application.ini" ); $loader = Yaf_Loader : ... : getInstance (); $loader -> registerLocalNamespace ( "Models" ); $loader -> setLibraryPath ( "/usr/local/share/yaf/library" , true ); /* "Models" i ...
https://man.mtool.work/php/8.3/yaf-loader.getnamespacepath.html
Yaf_Loader クラス 9234
« Yaf_View_Simple::setScriptPath Yaf_Loader::autoload » PHP Manual Yaf Yaf_Loader クラス 検索 Yaf_Loader クラス (Yaf >=1.0.0) はじめに Yaf_Loader は、 Yaf 用に包括的なオートローディング機能を導入します。 最初に Yaf_Application のインスタンス ... を取得するときに、 Yaf_Loader はシングルトンのインスタンスを作って それを spl_autoload に登録します。このインスタンスを取得するには Yaf_Loader::getInsta ... nce() を使います。 Yaf_Loader は、クラスのロードを一度だけ試みます。 失敗した場合の挙動は yaf.use_spl_autoload によって変わります。もしこの設定が On なら ... Yaf_Loader::autoload() は false を返し、 他のオートロード関数でやり直せるようになります。この設定が Off (デフォルト) の場合は Yaf_Loa ...
https://man.mtool.work/php/8.3/class.yaf-loader.html
Yaf_Loader クラス 9234
« Yaf_View_Simple::setScriptPath Yaf_Loader::autoload » PHP Manual Yaf Yaf_Loader クラス 検索 Yaf_Loader クラス (Yaf >=1.0.0) はじめに Yaf_Loader は、 Yaf 用に包括的なオートローディング機能を導入します。 最初に Yaf_Application のインスタンス ... を取得するときに、 Yaf_Loader はシングルトンのインスタンスを作って それを spl_autoload に登録します。このインスタンスを取得するには Yaf_Loader::getInsta ... nce() を使います。 Yaf_Loader は、クラスのロードを一度だけ試みます。 失敗した場合の挙動は yaf.use_spl_autoload によって変わります。もしこの設定が On なら ... Yaf_Loader::autoload() は false を返し、 他のオートロード関数でやり直せるようになります。この設定が Off (デフォルト) の場合は Yaf_Loa ...
https://man.mtool.work/php/8.3/class.yaf-loader.html
Alias of registerLocalNamespace 9149
« Yaf_Loader::registerLocalNamespace Yaf_Loader::setLibraryPath » PHP Manual Yaf_Loader Alias of registerLocalNamespace 検索 Yaf_Loader::registerNamespace (Yaf >=3.2.0) Yaf_Loader::registerNamespace — Alias of registerLocalNamespace 説明 pu ... blic function Yaf_Loader::registerNamespace ( string | array $namespace , string $path = null ): Yaf_Loader | false Alias of Yaf_Loader::registerLo ... ngs. path The directory to look up the namespace in. If not given, the local library directory is used. 戻り値 Returns the loader instance itself on success, or false if an invalid parameter is provided. 例 例1 Yaf_Loader::registerNamespace() example < ... ?php class Bootstrap extends Yaf_Bootstrap_Abstract { public function _initLoader () { /* registerNamespace() is an alias of registerLocalNamespace() */ Yaf_Loader :: getInstance ()-> registerNamespace ( ...
https://man.mtool.work/php/8.3/yaf-loader.registernamespace.html
Alias of registerLocalNamespace 9065
« Yaf_Loader::registerLocalNamespace Yaf_Loader::setLibraryPath » PHP Manual Yaf_Loader Alias of registerLocalNamespace 検索 Yaf_Loader::registerNamespace (Yaf >=3.2.0) Yaf_Loader::registerNamespace — Alias of registerLocalNamespace 説明 pu ... blic function Yaf_Loader::registerNamespace ( string | array $namespace , string $path = null ): Yaf_Loader | false Alias of Yaf_Loader::registerLo ... ngs. path The directory to look up the namespace in. If not given, the local library directory is used. 戻り値 Returns the loader instance itself on success, or false if an invalid parameter is provided. 例 例1 Yaf_Loader::registerNamespace() example < ... ?php class Bootstrap extends Yaf_Bootstrap_Abstract { public function _initLoader () { /* registerNamespace() is an alias of registerLocalNamespace() */ Yaf_Loader :: getInstance ()-> registerNamespace ( ...
https://man.mtool.work/php/8.3/yaf-loader.registernamespace.html
ローカルクラスプレフィックスを登録する 9036
« Yaf_Loader::isLocalName Yaf_Loader::registerNamespace » PHP Manual Yaf_Loader ローカルクラスプレフィックスを登録する 検索 Yaf_Loader::registerLocalNamespace (Yaf >=1.0.0) Yaf_Loader::registerLocalNamespace — ローカルクラスプレフィックスを ... 登録する 説明 public function Yaf_Loader::registerLocalNamespace ( mixed $prefix ): void ローカルクラスプレフィックスを登録します。 Yaf_Loader がクラスを探すときに ... バルライブラリディレクトリと呼びます。 同一サーバー内のいろんなアプリケーションで共有できるからです。 オートロード時に、 Yaf_Loader がどちらのライブラリディレクトリを探すのかを判断します。 その際には、存在しないクラス名のプレフィックスを判断材料にします。 ... あるいは配列。 ローカルライブラリパスにある、このプレフィックスを含むすべてのクラスが読み込まれます。 戻り値 bool 例 例1 Yaf_Loader::registerLocalNamespace() の例 <?php $loader = Yaf_Loader :: getInstance ( '/local/library/' , '/global/library' ); $loade ...
https://man.mtool.work/php/8.3/yaf-loader.registerlocalnamespace.html
ローカルクラスプレフィックスを登録する 9036
« Yaf_Loader::isLocalName Yaf_Loader::registerNamespace » PHP Manual Yaf_Loader ローカルクラスプレフィックスを登録する 検索 Yaf_Loader::registerLocalNamespace (Yaf >=1.0.0) Yaf_Loader::registerLocalNamespace — ローカルクラスプレフィックスを ... 登録する 説明 public function Yaf_Loader::registerLocalNamespace ( mixed $prefix ): void ローカルクラスプレフィックスを登録します。 Yaf_Loader がクラスを探すときに ... バルライブラリディレクトリと呼びます。 同一サーバー内のいろんなアプリケーションで共有できるからです。 オートロード時に、 Yaf_Loader がどちらのライブラリディレクトリを探すのかを判断します。 その際には、存在しないクラス名のプレフィックスを判断材料にします。 ... あるいは配列。 ローカルライブラリパスにある、このプレフィックスを含むすべてのクラスが読み込まれます。 戻り値 bool 例 例1 Yaf_Loader::registerLocalNamespace() の例 <?php $loader = Yaf_Loader :: getInstance ( '/local/library/' , '/global/library' ); $loade ...
https://man.mtool.work/php/8.3/yaf-loader.registerlocalnamespace.html
PREV 1 2 3 4 5 6 7 NEXT