« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 17 for member (0.003 sec.)
array_udiff_assoc — データの比較にコールバック関数を用い、 追加された添字の確認... 10500
array_udiff_assoc (PHP 5, PHP 7, PHP 8) array_udiff_assoc — データの比較にコールバック関数を用い、 追加された添字の確認を含めて配列の差を計算する 説明 function array_udiff_assoc ( array $array , array ...$arrays , callable $value_compare_fu ... c() は反対の動作、つまり 内部関数を利用した比較を行います。 例 例1 array_udiff_assoc() の例 <?php class cr { private $priv_member ; function __construct ( $val ) { $this -> priv_member = $val ; } static function comp_func_cr ( $a , $b ) { if ( $a -> pr ... iv_member === $b -> priv_member ) return 0 ; return ( $a -> priv_member > $b -> priv_member )? 1 :- 1 ; } } $a = array( "0.1" => new ... array( "cr" , "comp_func_cr" )); print_r ( $result ); ?> 上の例の出力は以下となります。 Array ( [0.1] => cr Object ( [priv_member:cr:private] => 9 ) [0.5] => cr Object ( [priv_member:cr:private] => 12 ) [0] => cr Object ( [priv_member:cr:private] => 23 ...
https://man.mtool.work/php/8.3/function.array-udiff-assoc.html
array_udiff_uassoc — データと添字の比較にコールバック関数を用い、 追加された添... 10414
array_udiff_uassoc (PHP 5, PHP 7, PHP 8) array_udiff_uassoc — データと添字の比較にコールバック関数を用い、 追加された添字の確認を含めて配列の差を計算する 説明 function array_udiff_uassoc ( array $array , array ...$arrays , callable $value_c ... の引数の配列の中に現れない全ての 値を含む array を返します。 例 例1 array_udiff_uassoc() の例 <?php class cr { private $priv_member ; function __construct ( $val ) { $this -> priv_member = $val ; } static function comp_func_cr ( $a , $b ) { if ( $a -> pr ... iv_member === $b -> priv_member ) return 0 ; return ( $a -> priv_member > $b -> priv_member )? 1 :- 1 ; } static function comp_func_ ... rray( "cr" , "comp_func_key" )); print_r ( $result ); ?> 上の例の出力は以下となります。 Array ( [0.1] => cr Object ( [priv_member:cr:private] => 9 ) [0.5] => cr Object ( [priv_member:cr:private] => 12 ) [0] => cr Object ( [priv_member:cr:private] => 23 ...
https://man.mtool.work/php/8.3/function.array-udiff-uassoc.html
MongoDB\Driver\Server::isArbiter — Checks if this server is an arbiter member o... 10345
MongoDB\Driver\Server::isArbiter (mongodb >=1.0.0) MongoDB\Driver\Server::isArbiter — Checks if this server is an arbiter member of a replica set 説明 final public function MongoDB\Driver\Server::isArbiter (): bool Returns whether this serv ... er is an » arbiter member of a replica set. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this server is an arbiter member ... river\Server::getInfo() - Returns an array of information describing this server 他のマニュアルの関連ページ Linux JM group_member(3) DuckDB Unnesting Docker docker info DuckDB Union Type DuckDB Types Python enum ...
https://man.mtool.work/php/8.3/mongodb-driver-server.isarbiter.html
MongoDB\Driver\Server::isHidden — Checks if this server is a hidden member of a... 10345
MongoDB\Driver\Server::isHidden (mongodb >=1.0.0) MongoDB\Driver\Server::isHidden — Checks if this server is a hidden member of a replica set 説明 final public function MongoDB\Driver\Server::isHidden (): bool Returns whether this server is ... a » hidden member of a replica set. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this server is a hidden member of ... river\Server::getInfo() - Returns an array of information describing this server 他のマニュアルの関連ページ Linux JM group_member(3) DuckDB Unnesting Docker docker info Django 1.4.16 DuckDB Union Type DuckDB Types ...
https://man.mtool.work/php/8.3/mongodb-driver-server.ishidden.html
MongoDB\Driver\Server::isPrimary — Checks if this server is a primary member of... 10345
MongoDB\Driver\Server::isPrimary (mongodb >=1.0.0) MongoDB\Driver\Server::isPrimary — Checks if this server is a primary member of a replica set 説明 final public function MongoDB\Driver\Server::isPrimary (): bool Returns whether this serve ... r is a » primary member of a replica set. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this server is a primary member o ... river\Server::getInfo() - Returns an array of information describing this server 他のマニュアルの関連ページ Linux JM group_member(3) DuckDB Unnesting Docker docker info DuckDB Union Type DuckDB Types Python enum ...
https://man.mtool.work/php/8.3/mongodb-driver-server.isprimary.html
MongoDB\Driver\Server::isSecondary — Checks if this server is a secondary membe... 10345
MongoDB\Driver\Server::isSecondary (mongodb >=1.0.0) MongoDB\Driver\Server::isSecondary — Checks if this server is a secondary member of a replica set 説明 final public function MongoDB\Driver\Server::isSecondary (): bool Returns whether th ... is server is a » secondary member of a replica set. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this server is a secondary member ... river\Server::getInfo() - Returns an array of information describing this server 他のマニュアルの関連ページ Linux JM group_member(3) DuckDB Unnesting Docker docker info DuckDB Union Type DuckDB Types Python enum ...
https://man.mtool.work/php/8.3/mongodb-driver-server.issecondary.html
MongoDB\Driver\Server::isPassive — Checks if this server is a passive member of... 10276
MongoDB\Driver\Server::isPassive (mongodb >=1.0.0) MongoDB\Driver\Server::isPassive — Checks if this server is a passive member of a replica set 説明 final public function MongoDB\Driver\Server::isPassive (): bool Returns whether this serve ... r is a » passive member of a replica set (i.e. its priority is 0 ). パラメータ この関数にはパラメータはありません。 戻り値 Returns true if this se ... rver is a passive member of a replica set, and false otherwise. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument ... river\Server::getInfo() - Returns an array of information describing this server 他のマニュアルの関連ページ Linux JM group_member(3) DuckDB Unnesting Docker docker info DuckDB Union Type DuckDB Types Python enum ...
https://man.mtool.work/php/8.3/mongodb-driver-server.ispassive.html
The MongoDB\Driver\Server class | PHP 8.3 9586
The MongoDB\Driver\Server class (mongodb >=1.0.0) はじめに クラス概要 final class MongoDB\Driver\Server { /* 定数 */ const int TYPE_UNKNOWN = 0 ; const int TYPE_STANDALONE = 1 ; const int TYPE_MONGOS = 2 ; const int TYPE_POSSIBLE_PRIMARY = ... oDB\Driver\Server::getType() . A server may be identified as a possible primary if it has not yet been checked but another member of the replica set thinks it is the primary. MongoDB\Driver\Server::TYPE_RS_PRIMARY Replica set primary server type, retur ... Returns an integer denoting the type of this server MongoDB\Driver\Server::isArbiter — Checks if this server is an arbiter member of a replica set MongoDB\Driver\Server::isHidden — Checks if this server is a hidden member of a replica set MongoDB\Drive ... r\Server::isPassive — Checks if this server is a passive member of a replica set MongoDB\Driver\Server::isPrimary — Checks if this server is a primary member of a replica set MongoDB\Dri ...
https://man.mtool.work/php/8.3/class.mongodb-driver-server.html
MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference | PHP ... 9052
MongoDB\Driver\ReadPreference::__construct (mongodb >=1.0.0) MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference 説明 final public function MongoDB\Driver\ReadPreference::__construct ( string $mode , ? array $tagSets = ... ryPreferred" In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. "secondary" All operations read from the secondary members of the replica set. "secondaryPreferred" In most situations, ... operations read from secondary members but if no secondary members are available, operations read from the primary. "nearest" Operations read from member of the ... replica set with the least network latency, irrespective of the member's type. tagSets Tag sets allow you to target read operations to specific members of a replica set. This parameter should b ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
The MongoDB\Driver\ReadPreference class | PHP 8.3 8207
The MongoDB\Driver\ReadPreference class (mongodb >=1.0.0) はじめに クラス概要 final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable , Serializable { /* プロパティ */ public readonly string $ mode ; public readonly ? ... RY_PREFERRED In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. MongoDB\Driver\ReadPreference::SECONDARY All operations read from the secondary members of the replica set. MongoDB\Driv ... er\ReadPreference::SECONDARY_PREFERRED In most situations, operations read from secondary members but if no secondary members are available, operations read from the primary. MongoDB\Driver\ReadPreference::NEAREST Opera ... tions read from member of the replica set with the least network latency, irrespective of the member's type. MongoDB\Driver\ReadPreference::NO_MA ...
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
PREV 1 2 NEXT