\Fuman_Session_SerializableArray

Class Fuman_Session_SerializableArray

Summary

Methods
Properties
Constants
current()
next()
key()
valid()
rewind()
count()
__sleep()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
No public properties found
No constants found
_init()
$_array
$_serialized
N/A
No private methods found
No private properties found
N/A

Properties

$_array

$_array : 

Type

$_serialized

$_serialized : 

Type

Methods

current()

current() : mixed

(PHP 5 &gt;= 5.0.0)<br/> Return the current element

Returns

mixed —

Can return any type.

next()

next() : void

(PHP 5 &gt;= 5.0.0)<br/> Move forward to next element

key()

key() : mixed

(PHP 5 &gt;= 5.0.0)<br/> Return the key of the current element

Returns

mixed —

scalar on success, or null on failure.

valid()

valid() : boolean

(PHP 5 &gt;= 5.0.0)<br/> Checks if current position is valid

Returns

boolean —

The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

rewind()

rewind() : void

(PHP 5 &gt;= 5.0.0)<br/> Rewind the Iterator to the first element

count()

count() : integer

(PHP 5 &gt;= 5.1.0)<br/> Count elements of an object

Returns

integer —

The custom count as an integer.

The return value is cast to an integer.

__sleep()

__sleep() 

Sleep

offsetExists()

offsetExists(mixed  $offset) : boolean

(PHP 5 &gt;= 5.0.0)<br/> Whether a offset exists

Parameters

mixed $offset

An offset to check for.

Returns

boolean —

true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

offsetGet()

offsetGet(mixed  $offset) : mixed

(PHP 5 &gt;= 5.0.0)<br/> Offset to retrieve

Parameters

mixed $offset

The offset to retrieve.

Returns

mixed —

Can return all value types.

offsetSet()

offsetSet(mixed  $offset, mixed  $value) : void

(PHP 5 &gt;= 5.0.0)<br/> Offset to set

Parameters

mixed $offset

The offset to assign the value to.

mixed $value

The value to set.

offsetUnset()

offsetUnset(mixed  $offset) : void

(PHP 5 &gt;= 5.0.0)<br/> Offset to unset

Parameters

mixed $offset

The offset to unset.

_init()

_init()