Inheritances
Files
Overview
FRAMES
NO FRAMES

Class Zend_Amf_Value_TraitsInfo

Zend_Amf
|-Zend_Amf_Value
|- class Zend_Amf_Value_TraitsInfo
Defined in line 31 of file Amf/Value/TraitsInfo.php.
Zend_Amf_Value_TraitsInfo
PackageZend_Amf
SubpackageValue
CopyrightCopyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
Licensehttp://framework.zend.com/license/new-bsd New BSD License

Summary

Instance fields
# $_className
# $_dynamic
# $_externalizable
# $_properties
Instance methods
+ __construct() Used to keep track of all class traits of an AMF3 object
+ addAllProperties() Add all properties of the class
+ addProperty() Add an additional property
+ getAllProperties() Return all properties of the class
+ getClassName() Return the class name
+ getProperty() Get the property at a given index
+ isDynamic() Test if the class is a dynamic class
+ isExternalizable() Test if class is externalizable
+ length() Return the number of properties in the class

Details

Instance fields

$_className
protected $_className
Var string Class name
$_dynamic
protected $_dynamic
Var bool Whether or not this is a dynamic class
$_externalizable
protected $_externalizable
Var bool Whether or not the class is externalizable
$_properties
protected $_properties
Var array Class properties

Instance methods

__construct()
public function __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
addAllProperties()
public function addAllProperties( array $props)
Add all properties of the class.
Parameters
array $props
addProperty()
public function addProperty( $name)
Add an additional property
Parameters
string $name
getAllProperties()
public function getAllProperties( )
Return all properties of the class.
Returns array
getClassName()
public function getClassName( )
Return the class name
Returns string
getProperty()
public function getProperty( $index)
Get the property at a given index
Parameters
int $index
Returns string
isDynamic()
public function isDynamic( )
Test if the class is a dynamic class
Returns boolean
isExternalizable()
public function isExternalizable( )
Test if class is externalizable
Returns boolean
length()
public function length( )
Return the number of properties in the class
Returns int