PHP Класс Foo3

Показать файл Открыть проект

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

Метод Описание
__construct ( array $data ) Constructor.
current ( ) : mixed Returns the current item value.
key ( ) : integer Returns the current pointer value.
next ( ) Advances the internal pointer.
rewind ( ) Sets the internal pointer to 0.
valid ( ) : boolean Returns if the current pointer position is valid.

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

__construct() публичный Метод

Constructor.
public __construct ( array $data )
$data array Data

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

Returns the current item value.
public current ( ) : mixed
Результат mixed

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

Returns the current pointer value.
public key ( ) : integer
Результат integer

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

Advances the internal pointer.
public next ( )

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

Sets the internal pointer to 0.
public rewind ( )

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

Returns if the current pointer position is valid.
public valid ( ) : boolean
Результат boolean