Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
AbstractOptions Class Reference

Public Member Functions

 __construct ($options=null)
 Constructor.
 
 setFromArray ($options)
 Set one or more configuration properties.
 
 toArray ()
 Cast to array.
 
 __set ($key, $value)
 Set a configuration property.
 
 __get ($key)
 Get a configuration property.
 
 __isset ($key)
 Test if a configuration property is null.
 
 __unset ($key)
 Set a configuration property to NULL.
 

Protected Attributes

 $__strictMode__ = true
 

Constructor & Destructor Documentation

__construct (   $options = null)

Constructor.

Parameters
array | Traversable | null$options

Member Function Documentation

__get (   $key)

Get a configuration property.

See Also
ParameterObject::__get()
Parameters
string$key
Exceptions
Exception\BadMethodCallException
Returns
mixed

Implements ParameterObjectInterface.

__isset (   $key)

Test if a configuration property is null.

See Also
ParameterObject::__isset()
Parameters
string$key
Returns
bool

Implements ParameterObjectInterface.

__set (   $key,
  $value 
)

Set a configuration property.

See Also
ParameterObject::__set()
Parameters
string$key
mixed$value
Exceptions
Exception\BadMethodCallException
Returns
void

Implements ParameterObjectInterface.

__unset (   $key)

Set a configuration property to NULL.

See Also
ParameterObject::__unset()
Parameters
string$key
Exceptions
Exception\InvalidArgumentException
Returns
void

Implements ParameterObjectInterface.

setFromArray (   $options)

Set one or more configuration properties.

Parameters
array | Traversable | AbstractOptions$options
Exceptions
Exception\InvalidArgumentException
Returns
AbstractOptions Provides fluent interface
toArray ( )

Cast to array.

Returns
array

Member Data Documentation

$__strictMode__ = true
protected