Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Amf_Value_TraitsInfo Class Reference

Public Member Functions

 __construct ($className, $dynamic=false, $externalizable=false, $properties=null)
 Used to keep track of all class traits of an AMF3 object.
 
 isDynamic ()
 Test if the class is a dynamic class.
 
 isExternalizable ()
 Test if class is externalizable.
 
 length ()
 Return the number of properties in the class.
 
 getClassName ()
 Return the class name.
 
 addProperty ($name)
 Add an additional property.
 
 addAllProperties (array $props)
 Add all properties of the class.
 
 getProperty ($index)
 Get the property at a given index.
 
 getAllProperties ()
 Return all properties of the class.
 

Protected Attributes

 $_className
 
 $_dynamic
 
 $_externalizable
 
 $_properties
 

Constructor & Destructor Documentation

__construct (   $className,
  $dynamic = false,
  $externalizable = false,
  $properties = null 
)

Used to keep track of all class traits of an AMF3 object.

Parameters
string$className
boolean$dynamic
boolean$externalizable
boolean$properties
Returns
void

Member Function Documentation

addAllProperties ( array  $props)

Add all properties of the class.

Parameters
array$props
Returns
Zend_Amf_Value_TraitsInfo
addProperty (   $name)

Add an additional property.

Parameters
string$name
Returns
Zend_Amf_Value_TraitsInfo
getAllProperties ( )

Return all properties of the class.

Returns
array
getClassName ( )

Return the class name.

Returns
string
getProperty (   $index)

Get the property at a given index.

Parameters
int$index
Returns
string
isDynamic ( )

Test if the class is a dynamic class.

Returns
boolean
isExternalizable ( )

Test if class is externalizable.

Returns
boolean
length ( )

Return the number of properties in the class.

Returns
int

Member Data Documentation

$_className
protected
$_dynamic
protected
$_externalizable
protected
$_properties
protected