Zend Framework
1.12
|
Public Member Functions | |
writeTypeMarker (&$data, $markerType=null, $dataByVal=false) | |
Determine type and serialize accordingly. | |
writeObject ($object) | |
Write a PHP array with string or mixed keys. | |
writeArray (&$array) | |
Write a standard numeric array to the output stream. | |
writeDate ($data) | |
Convert the DateTime into an AMF Date. | |
writeTypedObject ($data) | |
Write a class mapped object to the output stream. | |
writeAmf3TypeMarker (&$data) | |
Encountered and AMF3 Type Marker use AMF3 serializer. | |
![]() | |
__construct (Zend_Amf_Parse_OutputStream $stream) | |
Constructor. | |
writeTypeMarker (&$content, $markerType=null, $contentByVal=false) | |
Find the PHP object type and convert it into an AMF object type. | |
Protected Member Functions | |
writeObjectReference (&$object, $markerType, $objectByVal=false) | |
Check if the given object is in the reference table, write the reference if it exists, otherwise add the object to the reference table. | |
getClassName ($object) | |
Find if the class name is a class mapped name and return the respective classname if it is. | |
Protected Attributes | |
$_className = '' | |
$_referenceObjects = array() | |
![]() | |
$_stream | |
$mbStringFunctionsOverloaded | |
|
protected |
Find if the class name is a class mapped name and return the respective classname if it is.
object | $object |
writeAmf3TypeMarker | ( | & | $data | ) |
Encountered and AMF3 Type Marker use AMF3 serializer.
Once AMF3 is encountered it will not return to AMf0.
string | $data |
writeArray | ( | & | $array | ) |
Write a standard numeric array to the output stream.
If a mixed array is encountered call writeTypeMarker with mixed array.
array | $array |
writeDate | ( | $data | ) |
Convert the DateTime into an AMF Date.
DateTime | Zend_Date | $data |
writeObject | ( | $object | ) |
Write a PHP array with string or mixed keys.
object | $data |
|
protected |
Check if the given object is in the reference table, write the reference if it exists, otherwise add the object to the reference table.
mixed | $object | object reference to check for reference |
string | $markerType | AMF type of the object to write |
mixed | $objectByVal | object to check for reference |
writeTypedObject | ( | $data | ) |
Write a class mapped object to the output stream.
object | $data |
writeTypeMarker | ( | & | $data, |
$markerType = null , |
|||
$dataByVal = false |
|||
) |
Determine type and serialize accordingly.
Checks to see if the type was declared and then either auto negotiates the type or relies on the user defined markerType to serialize the data into amf
mixed | $data | |
mixed | $markerType | |
mixed | $dataByVal |
Zend_Amf_Exception | for unrecognized types or data |
|
protected |
|
protected |