API Documentation

Amf/Value/TraitsInfo.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Amf
subpackage
Value
version
$Id: TraitsInfo.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Amf_Value_TraitsInfo

Description

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.

Zend_Amf_Value_TraitsInfo

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Amf
subpackage
Value
Properties
$_className
$_dynamic
$_externalizable
$_properties
Methods
__construct
isDynamic
isExternalizable
length
getClassName
addProperty
addAllProperties
getProperty
getAllProperties

Description

Zend_Amf_Value_TraitsInfo

Properties

$_className

string $_className = ''

Details

$_className
string
Class name
visibility
protected
default
final
false
static
false

$_dynamic

bool $_dynamic = ''

Details

$_dynamic
bool
Whether or not this is a dynamic class
visibility
protected
default
final
false
static
false

$_externalizable

bool $_externalizable = ''

Details

$_externalizable
bool
Whether or not the class is externalizable
visibility
protected
default
final
false
static
false

$_properties

array $_properties = ''

Details

$_properties
array
Class properties
visibility
protected
default
final
false
static
false

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

Arguments
$className
string
$dynamic
boolean
$externalizable
boolean
$properties
boolean
Details
visibility
public
final
false
static
false

addAllProperties

addAllProperties( array $props ) : Zend_Amf_Value_TraitsInfo

Add all properties of the class.

Arguments
$props
array
Details
visibility
public
final
false
static
false

addProperty

addProperty( string $name ) : Zend_Amf_Value_TraitsInfo

Add an additional property

Arguments
$name
string
Details
visibility
public
final
false
static
false

getAllProperties

getAllProperties( ) : array

Return all properties of the class.

Output
array
Details
visibility
public
final
false
static
false

getClassName

getClassName( ) : string

Return the class name

Output
string
Details
visibility
public
final
false
static
false

getProperty

getProperty( int $index ) : string

Get the property at a given index

Arguments
$index
int
Output
string
Details
visibility
public
final
false
static
false

isDynamic

isDynamic( ) : boolean

Test if the class is a dynamic class

Output
boolean
Details
visibility
public
final
false
static
false

isExternalizable

isExternalizable( ) : boolean

Test if class is externalizable

Output
boolean
Details
visibility
public
final
false
static
false

length

length( ) : int

Return the number of properties in the class

Output
int
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.