\Zend_Amf_Parse_Amf0_Serializer
Serializer PHP misc types back to there corresponding AMF0 Type Marker.
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Amf_Parse_Amf0_Serializer
extends Zend_Amf_Parse_Serializer
{
- // members
- protected string $_className = '';
- protected array $_referenceObjects = ;
- // Inherited members from Zend_Amf_Parse_Serializer
- protected $_stream;
- // methods
- public Zend_Amf_Parse_Amf0_Serializer writeTypeMarker()
- protected Boolean writeObjectReference()
- public Zend_Amf_Parse_Amf0_Serializer writeObject()
- public Zend_Amf_Parse_Amf0_Serializer writeArray()
- public Zend_Amf_Parse_Amf0_Serializer writeDate()
- public Zend_Amf_Parse_Amf0_Serializer writeTypedObject()
- public Zend_Amf_Parse_Amf0_Serializer writeAmf3TypeMarker()
- protected false|string getClassName()
- // Inherited methods from Zend_Amf_Parse_Serializer
- public void __construct()
- public abstract void writeTypeMarker()
Hierarchy
Extends
Members
protected
- $_className — string
- $_referenceObjects
—
array
An array of reference objects - $_stream
—
string
Reference to the current output stream being constructed
Methods
protected
- getClassName() — Find if the class name is a class mapped name and return the respective classname if it is.
- writeObjectReference() — Check if the given object is in the reference table, write the reference if it exists, otherwise add the object to the reference table
public
- writeAmf3TypeMarker() — Encountered and AMF3 Type Marker use AMF3 serializer. Once AMF3 is encountered it will not return to AMf0.
- writeArray() — Write a standard numeric array to the output stream. If a mixed array is encountered call writeTypeMarker with mixed array.
- writeDate() — Convert the DateTime into an AMF Date
- writeObject() — Write a PHP array with string or mixed keys.
- writeTypeMarker() — Determine type and serialize accordingly
- writeTypedObject() — Write a class mapped object to the output stream.
Inherited from Zend_Amf_Parse_Serializer
public
- writeTypeMarker() — Find the PHP object type and convert it into an AMF object type