UserFieldCollection
implements
Iterator, ArrayAccess, Countable
Table of Contents
Interfaces
- Iterator
- ArrayAccess
- Countable
Methods
-
__construct()
: mixed
-
count()
: int
-
current()
: UserField|null
-
getByName()
: UserField|null
-
getDefaultVisibility()
: array<string|int, mixed>
-
key()
: int
-
next()
: void
-
offsetExists()
: bool
-
offsetGet()
: UserField|null
-
offsetSet()
: mixed
-
offsetUnset()
: mixed
-
rewind()
: void
-
toArray()
: array<string|int, mixed>
-
valid()
: bool
__construct()
public
__construct(array<string|int, mixed> $fields[, array<string|int, mixed> $visibility = [] ][, array<string|int, mixed> $defaultVisibility = null ]) : mixed
Parameters
-
$fields
: array<string|int, mixed>
-
-
$visibility
: array<string|int, mixed>
= []
-
-
$defaultVisibility
: array<string|int, mixed>
= null
-
count()
public
count() : int
current()
public
current() : UserField|null
getByName()
public
getByName(string $fieldName) : UserField|null
Parameters
-
$fieldName
: string
-
getDefaultVisibility()
public
static getDefaultVisibility() : array<string|int, mixed>
Return values
array<string|int, mixed>
key()
public
key() : int
next()
public
next() : void
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
-
$offset
: mixed
-
offsetGet()
public
offsetGet(mixed $offset) : UserField|null
Parameters
-
$offset
: mixed
-
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
-
$offset
: mixed
-
-
$value
: mixed
-
offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
-
$offset
: mixed
-
rewind()
public
rewind() : void
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
valid()
public
valid() : bool