\Dewdrop\FieldsFieldsIterator

An Iterator implement that is used to loop over a \Dewdrop\Fields object.

Summary

Methods
Properties
Constants
__construct()
current()
key()
next()
rewind()
valid()
No public properties found
No constants found
No protected methods found
$fields
N/A
No private methods found
No private properties found
N/A

Properties

$fields

$fields : array

The array of fields supplied by the source \Dewdrop\Fields object.

Type

array

Methods

__construct()

__construct(array  $fields) 

Supply the array of fields that will be iterated over.

Parameters

array $fields

key()

key() : string

Get the ID of the current field to be used as the key during iteration.

Returns

string

rewind()

rewind() : void

Rewind the iteration pointer.

valid()

valid() : boolean

Check to see if we can continue with iteration.

Returns

boolean