Results of 1 - 10 of about 388 for collection (0.001 sec.)
- The Collection interface 6787
- « 例 Ds\Collection::clear » PHP Manual Data Structures The Collection interface 検索 The Collection interface (PECL ds >= 1.0.0) はじめに Collection is the base interface which covers functionality common to all the data structures in this
... tructures are traversable, countable, and can be converted to json using json_encode() . インターフェイス概要 interface Ds\Collection extends Countable , IteratorAggregate , JsonSerializable { /* メソッド */ public function clear (): void public function c ... opy (): Ds\Collection public function isEmpty (): bool public function toArray (): array /* 継承したメソッド */ public function Countable::count ... terator (): Traversable public function JsonSerializable::jsonSerialize (): mixed } 変更履歴 バージョン 説明 PECL ds 1.4.0 Collection implements IteratorAggregate now instead of just Traversable . (This change came to the polyfill in 1.4.1.) 目次 Ds\Collec ...
-
https://man.mtool.work/php/8.3/class.ds-collection.html
- Collection クラス 6787
- « Client::getClient Collection::add » PHP Manual Mysql_xdevapi Collection クラス 検索 Collection クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject { /* プロパティ
... */ public $ name ; /* メソッド */ public function add ( mixed $document ): mysql_xdevapi\CollectionAdd public function addOrReplaceOne ( string $id , string $doc ): mysql_xdevapi\Result public function count (): int public ... ame ): bool public function existsInDatabase (): bool public function find ( string $search_condition = ? ): mysql_xdevapi\CollectionFind public function getName (): string public function getOne ( string $id ): Document public function getSchema (): Schem ... a Object public function getSession (): Session public function modify ( string $search_condition ): mysql_xdevapi\CollectionModify public function remove ( string $search_condition ): mysql_xdevapi\CollectionRemove public function removeOne ( stri ...
-
https://man.mtool.work/php/8.3/class.mysql-xdevapi-collection.html
- Collection クラス 6787
- « Client::getClient Collection::add » PHP Manual Mysql_xdevapi Collection クラス 検索 Collection クラス (PECL mysql-xdevapi >= 8.0.11) はじめに クラス概要 class mysql_xdevapi\Collection implements mysql_xdevapi\SchemaObject { /* プロパティ
... */ public $ name ; /* メソッド */ public function add ( mixed $document ): mysql_xdevapi\CollectionAdd public function addOrReplaceOne ( string $id , string $doc ): mysql_xdevapi\Result public function count (): int public ... ame ): bool public function existsInDatabase (): bool public function find ( string $search_condition = ? ): mysql_xdevapi\CollectionFind public function getName (): string public function getOne ( string $id ): Document public function getSchema (): Schem ... a Object public function getSession (): Session public function modify ( string $search_condition ): mysql_xdevapi\CollectionModify public function remove ( string $search_condition ): mysql_xdevapi\CollectionRemove public function removeOne ( stri ...
-
https://man.mtool.work/php/8.3/class.mysql-xdevapi-collection.html
- The Collection interface 6770
- « 例 Ds\Collection::clear » PHP Manual Data Structures The Collection interface 検索 The Collection interface (PECL ds >= 1.0.0) はじめに Collection is the base interface which covers functionality common to all the data structures in this
... tructures are traversable, countable, and can be converted to json using json_encode() . インターフェイス概要 interface Ds\Collection extends Countable , IteratorAggregate , JsonSerializable { /* メソッド */ public function clear (): void public function c ... opy (): Ds\Collection public function isEmpty (): bool public function toArray (): array /* 継承したメソッド */ public function Countable::count ... terator (): Traversable public function JsonSerializable::jsonSerialize (): mixed } 変更履歴 バージョン 説明 PECL ds 1.4.0 Collection implements IteratorAggregate now instead of just Traversable . (This change came to the polyfill in 1.4.1.) 目次 Ds\Collec ...
-
https://man.mtool.work/php/8.3/class.ds-collection.html
- Removes all values 6718
- « Ds\Collection Ds\Collection::copy » PHP Manual Ds\Collection Removes all values 検索 Ds\Collection::clear (PECL ds >= 1.0.0) Ds\Collection::clear — Removes all values 説明 public function Ds\Collection::clear (): void Removes all values f
... rom the collection. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Ds\Collection::clear() example <?php $coll ... ection = new \Ds\Vector ([ 1 , 2 , 3 ]); print_r ( $collection ); $collection -> clear (); print_r ( $collection ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Vector Object ( ... [0] => 1 [1] => 2 [2] => 3 ) Ds\Vector Object ( ) 関連キーワード: Collection clear collection Removes values Vector print copy example ...
-
https://man.mtool.work/php/8.3/ds-collection.clear.html
- Removes all values 6692
- « Ds\Collection Ds\Collection::copy » PHP Manual Ds\Collection Removes all values 検索 Ds\Collection::clear (PECL ds >= 1.0.0) Ds\Collection::clear — Removes all values 説明 public function Ds\Collection::clear (): void Removes all values f
... rom the collection. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Ds\Collection::clear() example <?php $coll ... ection = new \Ds\Vector ([ 1 , 2 , 3 ]); print_r ( $collection ); $collection -> clear (); print_r ( $collection ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Vector Object ( ... [0] => 1 [1] => 2 [2] => 3 ) Ds\Vector Object ( ) 関連キーワード: Collection clear collection Removes values Vector パラメータ print Object Search copy function void 戻り値 example php new navigate E ...
-
https://man.mtool.work/php/8.3/ds-collection.clear.html
- Converts the collection to an array 6692
- « Ds\Collection::isEmpty Ds\Hashable » PHP Manual Ds\Collection Converts the collection to an array 検索 Ds\Collection::toArray (PECL ds >= 1.0.0) Ds\Collection::toArray — Converts the collection to an array 説明 public function Ds\Collection
... on::toArray (): array Converts the collection to an array . 注意 : Casting to an array is not supported yet. パラメータ この関数にはパラメータはありません。 戻り値 An a ... rray containing all the values in the same order as the collection. 例 例1 Ds\Collection::toArray() example <?php $collection = new \Ds\Vector ([ 1 , 2 , 3 ]); var_dump ( $collection -> toA ... )); ?> 上の例の出力は、 たとえば以下のようになります。 array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } 関連キーワード: collection Collection toArray Converts isEmpty Hashable Casting supported containing values order example Vector dump ...
-
https://man.mtool.work/php/8.3/ds-collection.toarray.html
- Converts the collection to an array 6674
- « Ds\Collection::isEmpty Ds\Hashable » PHP Manual Ds\Collection Converts the collection to an array 検索 Ds\Collection::toArray (PECL ds >= 1.0.0) Ds\Collection::toArray — Converts the collection to an array 説明 public function Ds\Collection
... on::toArray (): array Converts the collection to an array . 注意 : Casting to an array is not supported yet. パラメータ この関数にはパラメータはありません。 戻り値 An a ... rray containing all the values in the same order as the collection. 例 例1 Ds\Collection::toArray() example <?php $collection = new \Ds\Vector ([ 1 , 2 , 3 ]); var_dump ( $collection -> toA ... 上の例の出力は、 たとえば以下のようになります。 array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } 関連キーワード: array collection Collection toArray Converts int パラメータ isEmpty Search Hashable function Casting supported yet 戻り値 containing values ...
-
https://man.mtool.work/php/8.3/ds-collection.toarray.html
- Returns a shallow copy of the collection 6648
- « Ds\Collection::clear Ds\Collection::isEmpty » PHP Manual Ds\Collection Returns a shallow copy of the collection 検索 Ds\Collection::copy (PECL ds >= 1.0.0) Ds\Collection::copy — Returns a shallow copy of the collection 説明 public functio
... n Ds\Collection::copy (): Ds\Collection Returns a shallow copy of the collection. パラメータ この関数にはパラメータはありません。 戻り値 R ... eturns a shallow copy of the collection. 例 例1 Ds\Collection::copy() example <?php $a = new \Ds\Vector ([ 1 , 2 , 3 ]); $b = $a -> copy (); $b -> push ( 4 ); pri ... Vector Object ( [0] => 1 [1] => 2 [2] => 3 ) Ds\Vector Object ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 ) 関連キーワード: copy Collection shallow collection Vector print clear isEmpty example push ...
-
https://man.mtool.work/php/8.3/ds-collection.copy.html
- Returns whether the collection is empty 6648
- « Ds\Collection::copy Ds\Collection::toArray » PHP Manual Ds\Collection Returns whether the collection is empty 検索 Ds\Collection::isEmpty (PECL ds >= 1.0.0) Ds\Collection::isEmpty — Returns whether the collection is empty 説明 public func
... tion Ds\Collection::isEmpty (): bool Returns whether the collection is empty. パラメータ この関数にはパラメータはありません。 戻り値 Returns ... true if the collection is empty, false otherwise. 例 例1 Ds\Collection::isEmpty() example <?php $a = new \Ds\Vector ([ 1 , 2 , 3 ]); $b = new \Ds ... ); var_dump ( $b -> isEmpty ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(false) bool(true) 関連キーワード: Collection isEmpty collection empty whether Vector dump copy toArray otherwise example ...
-
https://man.mtool.work/php/8.3/ds-collection.isempty.html