API Documentation

Zend/Amf/Value/TraitsInfo.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Amf  
Subpackage
Value  
Version
$Id: TraitsInfo.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Amf_Value_TraitsInfo

Package: Zend\Amf\Value

Zend_Amf_Value_TraitsInfo

Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_className= ''

Class name
Details
Type
string
Propertyprotectedbool  $_dynamic= ''

Whether or not this is a dynamic class
Details
Type
bool
Propertyprotectedbool  $_externalizable= ''

Whether or not the class is externalizable
Details
Type
bool
Propertyprotectedarray  $_properties= ''

Class properties
Details
Type
array

Methods

methodpublic__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
Name Type Description
$className string
$dynamic boolean
$externalizable boolean
$properties boolean
methodpublicaddAllProperties( array $props ) : \Zend_Amf_Value_TraitsInfo

Add all properties of the class.

Parameters
Name Type Description
$props array
Returns
Type Description
\Zend_Amf_Value_TraitsInfo
methodpublicaddProperty( string $name ) : \Zend_Amf_Value_TraitsInfo

Add an additional property

Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_Amf_Value_TraitsInfo
methodpublicgetAllProperties( ) : array

Return all properties of the class.

Returns
Type Description
array
methodpublicgetClassName( ) : string

Return the class name

Returns
Type Description
string
methodpublicgetProperty( int $index ) : string

Get the property at a given index

Parameters
Name Type Description
$index int
Returns
Type Description
string
methodpublicisDynamic( ) : boolean

Test if the class is a dynamic class

Returns
Type Description
boolean
methodpublicisExternalizable( ) : boolean

Test if class is externalizable

Returns
Type Description
boolean
methodpubliclength( ) : int

Return the number of properties in the class

Returns
Type Description
int
Documentation was generated by DocBlox 0.15.1.