\Zend_Amf_Value_TraitsInfo

Zend_Amf_Value_TraitsInfo

Summary

Methods
Properties
Constants
__construct()
isDynamic()
isExternalizable()
length()
getClassName()
addProperty()
addAllProperties()
getProperty()
getAllProperties()
No public properties found
No constants found
No protected methods found
$_className
$_dynamic
$_externalizable
$_properties
N/A
No private methods found
No private properties found
N/A

Properties

$_className

$_className : string

Type

string — Class name

$_dynamic

$_dynamic : boolean

Type

boolean — Whether or not this is a dynamic class

$_externalizable

$_externalizable : boolean

Type

boolean — Whether or not the class is externalizable

$_properties

$_properties : array

Type

array — Class properties

Methods

__construct()

__construct(string  $className, boolean  $dynamic = false, boolean  $externalizable = false, boolean  $properties = null) : void

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

Parameters

string $className
boolean $dynamic
boolean $externalizable
boolean $properties

isDynamic()

isDynamic() : boolean

Test if the class is a dynamic class

Returns

boolean

isExternalizable()

isExternalizable() : boolean

Test if class is externalizable

Returns

boolean

length()

length() : integer

Return the number of properties in the class

Returns

integer

getClassName()

getClassName() : string

Return the class name

Returns

string

addProperty()

addProperty(string  $name) : \Zend_Amf_Value_TraitsInfo

Add an additional property

Parameters

string $name

Returns

\Zend_Amf_Value_TraitsInfo

addAllProperties()

addAllProperties(array  $props) : \Zend_Amf_Value_TraitsInfo

Add all properties of the class.

Parameters

array $props

Returns

\Zend_Amf_Value_TraitsInfo

getProperty()

getProperty(integer  $index) : string

Get the property at a given index

Parameters

integer $index

Returns

string

getAllProperties()

getAllProperties() : array

Return all properties of the class.

Returns

array