PHP Трейт Dotink\Parody\Iterator

Автор: Matthew J. Sahagian [mjs] ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
current ( ) : mixed Get the current value
key ( ) : mixed Gets the current key
next ( ) : void Moves the current element of the value forward one
rewind ( ) : void Moved the current element of the value back to the beginning
valid ( ) : boolean Determine if the current key of the vlaue is Valid

Описание методов

current() публичный метод

Get the current value
public current ( ) : mixed
Результат mixed The current value of the set traversable value

key() публичный метод

Gets the current key
public key ( ) : mixed
Результат mixed The current key of the set traversable value

next() публичный метод

Moves the current element of the value forward one
public next ( ) : void
Результат void

rewind() публичный метод

Moved the current element of the value back to the beginning
public rewind ( ) : void
Результат void

valid() публичный метод

Determine if the current key of the vlaue is Valid
public valid ( ) : boolean
Результат boolean TRUE if the current key is valid, FALSE otherwise