Zend Framework
1.12
|
Public Member Functions | |
writeTypeMarker (&$data, $markerType=null, $dataByVal=false) | |
Serialize PHP types to AMF3 and write to stream. | |
writeInteger ($int) | |
Write an AMF3 integer. | |
writeString (&$string) | |
Send string to output stream. | |
writeByteArray (&$data) | |
Send ByteArray to output stream. | |
writeXml ($xml) | |
Send xml to output stream. | |
writeDate ($date) | |
Convert DateTime/Zend_Date to AMF date. | |
writeArray (&$array) | |
Write a PHP array back to the amf output stream. | |
writeObject ($object) | |
Write object to ouput stream. | |
![]() | |
__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 | |
writeBinaryString (&$string) | |
Send string to output stream, without trying to reference it. | |
writeObjectReference (&$object, $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. | |
Protected Attributes | |
$_strEmpty = '' | |
$_referenceObjects = array() | |
$_referenceStrings = array() | |
$_referenceDefinitions = array() | |
![]() | |
$_stream | |
$mbStringFunctionsOverloaded | |
writeArray | ( | & | $array | ) |
Write a PHP array back to the amf output stream.
array | $array |
|
protected |
Send string to output stream, without trying to reference it.
The string is prepended with strlen($string) << 1 | 0x01
string | $string |
writeByteArray | ( | & | $data | ) |
Send ByteArray to output stream.
string | Zend_Amf_Value_ByteArray | $data |
writeDate | ( | $date | ) |
Convert DateTime/Zend_Date to AMF date.
DateTime | Zend_Date | $date |
writeInteger | ( | $int | ) |
writeObject | ( | $object | ) |
|
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 |
mixed | $objectByVal | object to check for reference |
writeString | ( | & | $string | ) |
writeTypeMarker | ( | & | $data, |
$markerType = null , |
|||
$dataByVal = false |
|||
) |
Serialize PHP types to AMF3 and write to stream.
Checks to see if the type was declared and then either auto negotiates the type or use the user defined markerType to serialize the data from php back to AMF3
mixed | $data | |
int | $markerType | |
mixed | $dataByVal |
writeXml | ( | $xml | ) |
Send xml to output stream.
DOMDocument | SimpleXMLElement | $xml |
|
protected |
|
protected |
|
protected |
|
protected |