« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for Bundle (0.002 sec.)
ResourceBundle::getLocales — サポートするロケールを取得する | PHP 8.3 13193
ResourceBundle::getLocales resourcebundle_locales (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getLocales -- resourcebundle_locales — サポートするロケールを取得する 説明 オブジェクト指向型 public static function Resour ... ceBundle::getLocales ( string $bundle ): array | false 手続き型 function resourcebundle_locales ( string $bundle ): array | false R ... esourceBundle 名を指定して、サポートするロケールを取得します。 パラメータ bundle ロケールを取得したい ResourceBundle のパス、あるいは 空 ... 取得できます。 戻り値 このバンドルがサポートするロケールの一覧を返します。 失敗した場合は false を返します。 例 例1 resourcebundle_locales() の例 <?php $bundle = "/user/share/data/myapp" ; echo join ( PHP_EOL , resourcebundle_locales ( $bundle )); ?> 上 ...
https://man.mtool.work/php/8.3/resourcebundle.locales.html
ResourceBundle::getErrorCode — バンドルの直近のエラーコードを取得する | PHP 8.3 9670
ResourceBundle::getErrorCode resourcebundle_get_error_code (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getErrorCode -- resourcebundle_get_error_code — バンドルの直近のエラーコードを取得する 説明 オブジェクト指向型 pub ... lic function ResourceBundle::getErrorCode (): int 手続き型 function resourcebundle_get_error_code ( ResourceBundle $bundle ): int バンドルオブジェクト ... が最後に実行した関数のエラーコードを取得します。 パラメータ bundle ResourceBundle オブジェクト。 戻り値 バンドルオブジェクトの最後の関数コールからのエラーコードを返します。 例 例1 resourceb ... undle_get_error_code() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'somestring' ]; if( intl_is_failure ( resourcebundle_get_error_code ( ...
https://man.mtool.work/php/8.3/resourcebundle.geterrorcode.html
ResourceBundle::getErrorMessage — バンドルの直近のエラーメッセージを取得する | ... 9580
ResourceBundle::getErrorMessage resourcebundle_get_error_message (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getErrorMessage -- resourcebundle_get_error_message — バンドルの直近のエラーメッセージを取得する 説明 オブジ ... ェクト指向型 public function ResourceBundle::getErrorMessage (): string 手続き型 function resourcebundle_get_error_message ( ResourceBundle $bundle ): string バンドル ... オブジェクトが最後に実行した関数のエラーメッセージを取得します。 パラメータ bundle ResourceBundle オブジェクト。 戻り値 バンドルオブジェクトの最後の関数コールからのエラーメッセージを返します。 例 例1 resou ... rcebundle_get_error_message() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo $r [ 'somestring' ]; if ...
https://man.mtool.work/php/8.3/resourcebundle.geterrormessage.html
ResourceBundle::create — リソースバンドルを作成する | PHP 8.3 9508
ResourceBundle::create resourcebundle_create ResourceBundle::__construct (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::create -- resourcebundle_create -- ResourceBundle::__construct — リソースバンドルを作成する 説明 オブ ... ジェクト指向型 (メソッド) public static function ResourceBundle::create ( ? string $locale , ? string $bundle , bool $fallback = true ): ? ResourceBundle 手続き型 function resourcebundle ... _create ( ? string $locale , ? string $bundle , bool $fallback = true ): ? ResourceBundle オブジェクト指向型 (コンストラクタ): public function ResourceBundle::__constru ... ct ( ? string $locale , ? string $bundle , bool $fallback = true ) リソースバンドルを作成します。 パラメータ locale リソースバンドルを読み込むロケール (en_CA などの ...
https://man.mtool.work/php/8.3/resourcebundle.create.html
intl_get_error_message — 直近のエラーの説明を取得する | PHP 8.3 8663
intl_get_error_message (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) intl_get_error_message — 直近のエラーの説明を取得する 説明 function intl_get_error_message (): string 直近の国際化関数のコールによるエラーメッセージを取得します。 パラ ... はありません。 戻り値 直近の API 関数のコールで発生したエラーの説明を返します。 例 例1 intl_get_error_message() の例 <?php $bundle = resourcebundle_create ( 'en_US' , __DIR__ . '/does-not-exist' , false ); if ( $bundle === null ) { $errorCode = intl_get ... , intl_get_error_message ()); } 上の例の出力は以下となります。 Error name: U_MISSING_RESOURCE_ERROR Error message: resourcebundle_create(): Cannot load libICU resource bundle: U_MISSING_RESOURCE_ERROR 参考 intl_error_name() - 指定したエラーコードに対応 ...
https://man.mtool.work/php/8.3/function.intl-get-error-message.html
ResourceBundle::count — バンドル内の要素数を取得する | PHP 8.3 8160
ResourceBundle::count resourcebundle_count (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::count -- resourcebundle_count — バンドル内の要素数を取得する 説明 オブジェクト指向型 public function ResourceBundle::count (): int ... 手続き型 function resourcebundle_count ( ResourceBundle $bundle ): int バンドル内の要素数を取得します。 パラメータ bundle ResourceBundle オブジェクト。 戻り ... 値 バンドル内の要素数を返します。 例 例1 resourcebundle_count() の例 <?php $r = resourcebundle_create ( 'es' , "/usr/share/data/myapp" ); echo resourcebundle_count ( $r ); ?> 例2 ... オブジェクト指向の例 <?php $r = new ResourceBundle ( 'es' , "/usr/share/data/myapp" ); echo $r -> count (); ?> 上の例の出力は以下となります。 42 参考 resourcebundle_get() - ...
https://man.mtool.work/php/8.3/resourcebundle.count.html
ResourceBundle クラス | PHP 8.3 8070
ResourceBundle クラス (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) はじめに ローカライズしたソフトウェア製品には、 現在のロケールによって切り替えるデータのセットが必要となることがよくあります。 たとえばメッセージやラベル、書式パターン ... の形式になります。シンプルなリソースは 文字列、整数、バイナリデータフィールド、整数の配列 のいずれかの型となります。 ResourceBundle からデータにアクセスするには、 配列を使う方法と foreach を使う方法、そしてクラスメソッドを使う方法があります。 シンプルなリ ... ソースの場合は PHP の値、複雑なリソースの場合は ResourceBundle オブジェクトとして取得できます。 リソースはすべて読み込み専用となります。 クラス概要 class ResourceBundle implements Itera ... torAggregate , Countable { /* メソッド */ public function __construct ( ? string $locale , ? string $bundle , bool $fallback = true ) public function count (): int public static function create ( ? string $locale , ? string $bundl ...
https://man.mtool.work/php/8.3/class.resourcebundle.html
ResourceBundle::get — バンドルからデータを取得する | PHP 8.3 7567
ResourceBundle::get resourcebundle_get (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::get -- resourcebundle_get — バンドルからデータを取得する 説明 オブジェクト指向型 public function ResourceBundle::get ( string | int $i ... ndex , bool $fallback = true ): ResourceBundle | array | string | int | null 手続き型 function resourcebundle_get ( ResourceBundle $bundle , string | int $index , bool $ ... fallback = true ): ResourceBundle | array | string | int | null インデックスあるいは文字列キーを指定して、バンドルからデータを取得します。 パラメータ bundle ... ResourceBundle オブジェクト。 index データのインデックス。文字列あるいは整数値となります。 fallback ロケールが正確にマッチしなければ、 親 ...
https://man.mtool.work/php/8.3/resourcebundle.get.html
MongoDB\Driver\Manager::__construct — Create new MongoDB Manager | PHP 8.3 6399
MongoDB\Driver\Manager::__construct (mongodb >=1.0.0) MongoDB\Driver\Manager::__construct — Create new MongoDB Manager 説明 final public function MongoDB\Driver\Manager::__construct ( ? string $uri = null , ? array $uriOptions = null , ? ar ... id hostnames may expose the driver to a » man-in-the-middle attack . tlsCAFile string Path to file with either a single or bundle of certificate authorities to be considered trusted when making a TLS connection. The system certificate store will be use ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.construct.html
PREV 1 NEXT