PHP 클래스 yii\web\SessionIterator

부터: 2.0
저자: Qiang Xue ([email protected])
상속: implements Iterator
파일 보기 프로젝트 열기: yiisoft/yii2

공개 메소드들

메소드 설명
__construct ( ) Constructor.
current ( ) : mixed Returns the current array element.
key ( ) : mixed Returns the key of the current array element.
next ( ) Moves the internal pointer to the next array element.
rewind ( ) Rewinds internal array pointer.
valid ( ) : boolean Returns whether there is an element at current position.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

current() 공개 메소드

This method is required by the interface [[\Iterator]].
public current ( ) : mixed
리턴 mixed the current array element

key() 공개 메소드

This method is required by the interface [[\Iterator]].
public key ( ) : mixed
리턴 mixed the key of the current array element

next() 공개 메소드

This method is required by the interface [[\Iterator]].
public next ( )

rewind() 공개 메소드

This method is required by the interface [[\Iterator]].
public rewind ( )

valid() 공개 메소드

This method is required by the interface [[\Iterator]].
public valid ( ) : boolean
리턴 boolean