[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
Version: | $Id$ |
File Size: | 529 lines (18 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Zend_Amf_Parse_Amf3_Serializer:: (10 methods):
writeTypeMarker()
writeInteger()
writeBinaryString()
writeString()
writeByteArray()
writeXml()
writeDate()
writeArray()
writeObjectReference()
writeObject()
Class: Zend_Amf_Parse_Amf3_Serializer - X-Ref
Detect PHP object type and convert it to a corresponding AMF3 object typewriteTypeMarker(&$data, $markerType = null, $dataByVal = false) X-Ref |
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 param: mixed $data param: int $markerType param: mixed $dataByVal return: void |
writeInteger($int) X-Ref |
Write an AMF3 integer param: int|float $data return: Zend_Amf_Parse_Amf3_Serializer |
writeBinaryString(&$string) X-Ref |
Send string to output stream, without trying to reference it. The string is prepended with strlen($string) << 1 | 0x01 param: string $string return: Zend_Amf_Parse_Amf3_Serializer |
writeString(&$string) X-Ref |
Send string to output stream param: string $string return: Zend_Amf_Parse_Amf3_Serializer |
writeByteArray(&$data) X-Ref |
Send ByteArray to output stream param: string|Zend_Amf_Value_ByteArray $data return: Zend_Amf_Parse_Amf3_Serializer |
writeXml($xml) X-Ref |
Send xml to output stream param: DOMDocument|SimpleXMLElement $xml return: Zend_Amf_Parse_Amf3_Serializer |
writeDate($date) X-Ref |
Convert DateTime/Zend_Date to AMF date param: DateTime|Zend_Date $date return: Zend_Amf_Parse_Amf3_Serializer |
writeArray(&$array) X-Ref |
Write a PHP array back to the amf output stream param: array $array return: Zend_Amf_Parse_Amf3_Serializer |
writeObjectReference(&$object, $objectByVal = false) X-Ref |
Check if the given object is in the reference table, write the reference if it exists, otherwise add the object to the reference table param: mixed $object object reference to check for reference param: mixed $objectByVal object to check for reference return: Boolean true, if the reference was written, false otherwise |
writeObject($object) X-Ref |
Write object to ouput stream param: mixed $data return: Zend_Amf_Parse_Amf3_Serializer |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |