class ClassProperties extends Model implements Iterator, Countable (View source)

Traits

Constants

READWRITE

PROTECTDATA

READONLY

Properties

protected $mode
protected $data from Model

Methods

__get($name)

No description

from Model
__set($name, $value)

No description

from Model
__unset($name)

No description

from Model
__isset($name)

No description

from Model
merge($data)

No description

from Model
export()

No description

from Model
import($data)

No description

from Model
setRaw($name, $value)

No description

from Model
rewind()

Reset the iterator

mixed
current()

Get the current element

string|int
key()

Return the current key

next()

Move to next element

boolean
valid()

Check if element is valid (isset)

int
count()

Return the amount of routes loaded

__construct($properties = [])

No description

static 
create($properties = [])

No description

Details

__get($name)

Parameters

$name

__set($name, $value)

Parameters

$name
$value

__unset($name)

Parameters

$name

__isset($name)

Parameters

$name

merge($data)

Parameters

$data

export()

import($data)

Parameters

$data

protected setRaw($name, $value)

Parameters

$name
$value

rewind()

Reset the iterator

mixed current()

Get the current element

Return Value

mixed

string|int key()

Return the current key

Return Value

string|int

next()

Move to next element

boolean valid()

Check if element is valid (isset)

Return Value

boolean

int count()

Return the amount of routes loaded

Return Value

int $count

__construct($properties = [])

Parameters

$properties

static create($properties = [])

Parameters

$properties