Results of 51 - 60 of about 84 for ArrayIterator (0.007 sec.)
- ArrayObject のイテレータクラス名を設定する 5988
- « ArrayObject::setFlags ArrayObject::uasort » PHP Manual ArrayObject ArrayObject のイテレータクラ
...
setIteratorClass() の例 <?php // 独自のイテレータ (ArrayIterator を継承したもの) class MyArrayIterator extends Arra ...
定します $fruitsArrayObject -> setIteratorClass ( 'MyArrayIterator' ); print_r ( $fruitsArrayObject -> getIterator () ...
); ?> 上の例の出力は以下となります。 MyArrayIterator Object ( [lemons] => 1 [oranges] => 4 [bananas] => ...
tIteratorClass , 配列 , 反復 , lemons , Object , MyArrayIterator , 出力 ...
-
https://man.plustar.jp/php/arrayobject.setiteratorclass.html
- [similar]
- 引数が、数えられる値かどうかを調べる 5961
- « is_callable is_double » PHP Manual 変数操作 関数 引数が、数えられる値かどうかを調べる is_count
...
3 ])); // bool(true) var_dump ( is_countable (new ArrayIterator ([ 'foo' , 'bar' , 'baz' ]))); // bool(true) var_d ...
ump ( is_countable (new ArrayIterator ())); // bool(true) var_dump ( is_countable (new s ...
-
https://man.plustar.jp/php/function.is-countable.html
- [similar]
- 新しい MultipleIterator を作成する 5866
- « MultipleIterator::attachIterator MultipleIterator::containsIterator » PHP Manual MultipleItera
...
例1 MultipleIterator の反復処理 <?php $people = new ArrayIterator (array( 'John' , 'Jane' , 'Jack' , 'Judy' )); $rol ...
es = new ArrayIterator (array( 'Developer' , 'Scrum Master' , 'Project Ow ...
-
https://man.plustar.jp/php/multipleiterator.construct.html
- [similar]
- Standard PHP Library (SPL) 5785
- « SeasLog::warning はじめに » PHP Manual その他の基本モジュール Standard PHP Library (SPL) Stand
...
イテレータ AppendIterator — AppendIterator クラス ArrayIterator — ArrayIterator クラス CachingIterator — CachingIt ...
ラス ParentIterator — ParentIterator クラス RecursiveArrayIterator — RecursiveArrayIterator クラス RecursiveCachingIt ...
-
https://man.plustar.jp/php/book.spl.html
- [similar]
- InfiniteIterator を作成する 5731
- « InfiniteIterator InfiniteIterator::next » PHP Manual InfiniteIterator InfiniteIterator を作成す
...
eIterator::__construct() の例 <?php $arrayit = new ArrayIterator (array( 'cat' , 'dog' )); $infinite = new Infinite ...
-
https://man.plustar.jp/php/infiniteiterator.construct.html
- [similar]
- イテレータから tar あるいは zip アーカイブを作成する 5731
- « PharData::buildFromDirectory PharData::compress » PHP Manual PharData イテレータから tar あるい
...
=> value の対応を返すものを使用できます。たとえば ArrayIterator などです。 <?php $phar = new PharData ( 'project.t ...
ar' ); $phar -> buildFromIterator ( new ArrayIterator ( array( 'internal/file.php' => dirname ( __FILE__ ...
-
https://man.plustar.jp/php/phardata.buildfromiterator.html
- [similar]
- 現在の位置を返す 5703
- « LimitIterator::getInnerIterator LimitIterator::key » PHP Manual LimitIterator 現在の位置を返す
...
'damson' , 'e' => 'elderberry' ); $array_it = new ArrayIterator ( $fruits ); $limit_it = new LimitIterator ( $arra ...
-
https://man.plustar.jp/php/limititerator.getposition.html
- [similar]
- イテレータから phar アーカイブを作成する 5703
- « Phar::buildFromDirectory Phar::canCompress » PHP Manual Phar イテレータから phar アーカイブを作
...
=> value の対応を返すものを使用できます。たとえば ArrayIterator などです。 <?php // "project.phar" というエイリアス ...
'project.phar' ); $phar -> buildFromIterator ( new ArrayIterator ( array( 'internal/file.php' => dirname ( __FILE__ ...
-
https://man.plustar.jp/php/phar.buildfromiterator.html
- [similar]
- 内部イテレータを取得する 5676
- « AppendIterator::getArrayIterator AppendIterator::getIteratorIndex » PHP Manual AppendIterator
...
ator::getInnerIterator() の例 <?php $array_a = new ArrayIterator (array( 'a' => 'aardwolf' , 'b' => 'bear' , 'c' => ...
-
https://man.plustar.jp/php/appenditerator.getinneriterator.html
- [similar]
- 新規配列オブジェクトを生成する 5676
- « ArrayObject::asort ArrayObject::count » PHP Manual ArrayObject 新規配列オブジェクトを生成する
...
ay = [] , int $flags = 0 , string $iteratorClass = ArrayIterator::class ) 新規配列オブジェクトを生成します。 パラメ ...
-
https://man.plustar.jp/php/arrayobject.construct.html
- [similar]