Amf/Value/TraitsInfo.php
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 [email protected] 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 24593 2012-01-05 20:35:02Z matthew $
\Zend_Amf_Value_TraitsInfo
Package: Zend\Amf\ValueZend_Amf_Value_TraitsInfo
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
Properties



bool $_dynamic =
<p>Whether or not this is a dynamic class</p>



bool $_externalizable =
<p>Whether or not the class is externalizable</p>
Methods



__construct(string $className, boolean $dynamic = false, boolean $externalizable = false, boolean $properties = null) : voidUsed to keep track of all class traits of an AMF3 object
Parameters
| Name |
Type |
Description |
| $className |
string |
|
| $dynamic |
boolean |
|
| $externalizable |
boolean |
|
| $properties |
boolean |
|



addAllProperties(array $props) : \Zend_Amf_Value_TraitsInfoAdd all properties of the class.
Parameters
| Name |
Type |
Description |
| $props |
array |
|
Returns



addProperty(string $name) : \Zend_Amf_Value_TraitsInfoAdd an additional property
Parameters
| Name |
Type |
Description |
| $name |
string |
|
Returns



getProperty(int $index) : stringGet the property at a given index
Parameters
| Name |
Type |
Description |
| $index |
int |
|
Returns