link | http://www.python.org |
---|---|
link | http://pickle-js.googlecode.com |
see | |
see | |
category | Zend |
package | Zend_Serializer |
subpackage | Adapter |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Serializer_Adapter_AdapterAbstract |
__construct(array|\Zend_Config $opts = array()
)
link | Zend_Serializer_Adapter_AdapterAbstract::__construct() |
---|---|
inherited_from | \Zend_Serializer_Adapter_AdapterAbstract::__construct() |
__construct(array|\Zend_Config $opts = array()
)
inherited_from | \Zend_Serializer_Adapter_AdapterInterface::__construct() |
---|
array
\Zend_Config
Serializer options
getOption(string $name) : mixed
inherited_from | \Zend_Serializer_Adapter_AdapterInterface::getOption() |
---|
string
\Zend_Serializer_Exception |
---|
mixed
getOptions() : array
inherited_from | \Zend_Serializer_Adapter_AdapterInterface::getOptions() |
---|
array
serialize(mixed $value, array $opts = array()
) : string
mixed
array
string
setOption(string $name, mixed $value) : \Zend_Serializer_Adapter_PythonPickle
link | Zend_Serializer_Adapter_AdapterAbstract::setOption() |
---|---|
inherited_from | \Zend_Serializer_Adapter_AdapterAbstract::setOption() |
string
mixed
\Zend_Serializer_Adapter_PythonPickle
setOption(string $name, mixed $value) : \Zend_Serializer_Adapter_AdapterAbstract
inherited_from | \Zend_Serializer_Adapter_AdapterInterface::setOption() |
---|
string
Option name
mixed
Option value
\Zend_Serializer_Adapter_AdapterAbstract
setOptions(array|\Zend_Config $opts) : \Zend_Serializer_Adapter_AdapterAbstract
inherited_from | \Zend_Serializer_Adapter_AdapterInterface::setOptions() |
---|
array
\Zend_Config
Serializer options
\Zend_Serializer_Adapter_AdapterAbstract
unserialize(string $pickle, array $opts = array()
) : mixed
string
array
\Zend_Serializer_Exception |
on invalid Pickle string |
---|
mixed
_checkProtocolNumber(integer $number) : integer
integer
\Zend_Serializer_Exception |
---|
integer
_convertMatchingUnicodeSequence2Utf8(array $match) : string
array
string
_decodeBinLong(string $data) : integer | float | string
string
integer
float
string
_hex2Utf8($hex) : string
\Zend_Serializer_Exception |
on unmatched unicode sequence |
---|
string
_isArrayAssoc(array $value) : boolean
array
boolean
_lastMarker() : integer
integer
_load(string $op) : void
string
\Zend_Serializer_Exception |
on invalid opcode |
---|
_loadAppend() : void
_loadAppends() : void
_loadBinBytes() : void
_loadBinFloat() : void
_loadBinGet() : void
\Zend_Serializer_Exception |
on missing GET identifier |
---|
_loadBinInt() : void
_loadBinInt1() : void
_loadBinInt2() : void
_loadBinPut() : void
\Zend_Serializer_Exception |
on missing stack |
---|
_loadBinString() : void
_loadBinUnicode() : void
_loadDict() : void
_loadEmptyDict() : void
_loadEmptyList() : void
_loadFloat() : void
_loadGet() : void
\Zend_Serializer_Exception |
on missing GET identifier |
---|
_loadInt() : void
_loadList() : void
_loadLong() : void
_loadLong1() : void
_loadLong4() : void
_loadLongBinGet() : void
\Zend_Serializer_Exception |
on missing GET identifier |
---|
_loadLongBinPut() : void
\Zend_Serializer_Exception |
on missing stack |
---|
_loadMark() : void
_loadNewFalse() : void
_loadNewTrue() : void
_loadNone() : void
_loadProto() : void
\Zend_Serializer_Exception |
if Pickle version does not support this feature |
---|
_loadPut() : void
\Zend_Serializer_Exception |
on missing stack |
---|
_loadSetItem() : void
_loadSetItems() : void
_loadShortBinBytes() : void
_loadShortBinString() : void
_loadString() : void
_loadTuple() : void
_loadTuple1() : void
_loadTuple2() : void
_loadTuple3() : void
_loadUnicode() : void
_momorize(mixed $value) : void
mixed
_quoteString(string $str) : string
string
string
quoted string_read(mixed $len) : string
mixed
\Zend_Serializer_Exception |
if position matches end of data |
---|
string
_readline() : string
\Zend_Serializer_Exception |
if no EOL character found |
---|
string
_searchMomo(mixed $value) : integer | false
mixed
integer
false
The id or false_unquoteString(string $str) : string
string
quoted string
string
unquoted string_write(mixed $value) : void
mixed
\Zend_Serializer_Exception |
on invalid or unrecognized value type |
---|
_writeArrayDict(array $value) : void
array
_writeArrayList(array $value) : void
array
_writeFalse() : void
_writeFloat(float $value) : void
float
_writeGet(integer $id) : void
integer
Id of memo
_writeInt(integer $value) : void
integer
_writeNull() : void
_writeObject(object $value) : void
object
_writeProto(integer $protocol) : void
integer
_writePut(integer $id) : void
integer
Id of memo
_writeStop() : void
_writeString(string $value) : void
string
_writeTrue() : void
$_binary
false
$_isLittleEndian : boolean
null
$_marker
null
$_memo
array()
$_pickle
''
$_pickleLen
0
$_pos
0
$_protocol
0
$_quoteString : array
array('\\' => '\\\\', "\x00" => '\\x00', "\x01" => '\\x01', "\x02" => '\\x02', "\x03" => '\\x03', "\x04" => '\\x04', "\x05" => '\\x05', "\x06" => '\\x06', "\x07" => '\\x07', "\x08" => '\\x08', "\x09" => '\\t', "\x0a" => '\\n', "\x0b" => '\\x0b', "\x0c" => '\\x0c', "\x0d" => '\\r', "\x0e" => '\\x0e', "\x0f" => '\\x0f', "\x10" => '\\x10', "\x11" => '\\x11', "\x12" => '\\x12', "\x13" => '\\x13', "\x14" => '\\x14', "\x15" => '\\x15', "\x16" => '\\x16', "\x17" => '\\x17', "\x18" => '\\x18', "\x19" => '\\x19', "\x1a" => '\\x1a', "\x1b" => '\\x1b', "\x1c" => '\\x1c', "\x1d" => '\\x1d', "\x1e" => '\\x1e', "\x1f" => '\\x1f', "\xff" => '\\xff')
$_stack
array()
OP_APPEND = 'a'
OP_APPENDS = 'e'
OP_BINBYTES = 'B'
OP_BINFLOAT = 'G'
OP_BINGET = 'h'
OP_BININT = 'J'
OP_BININT1 = 'K'
OP_BININT2 = 'M'
OP_BINPERSID = 'Q'
OP_BINPUT = 'q'
OP_BINSTRING = 'T'
OP_BINUNICODE = 'X'
OP_BUILD = 'b'
OP_DICT = 'd'
OP_DUP = '2'
OP_EMPTY_DICT = '}'
OP_EMPTY_LIST = ']'
OP_EMPTY_TUPLE = ')'
OP_EXT1 = "\x82"
OP_EXT2 = "\x83"
OP_EXT4 = "\x84"
OP_FLOAT = 'F'
OP_GET = 'g'
OP_GLOBAL = 'c'
OP_INST = 'i'
OP_INT = 'I'
OP_LIST = 'l'
OP_LONG = 'L'
OP_LONG1 = "\x8a"
OP_LONG4 = "\x8b"
OP_LONG_BINGET = 'j'
OP_LONG_BINPUT = 'r'
OP_MARK = '('
OP_NEWFALSE = "\x89"
OP_NEWOBJ = "\x81"
OP_NEWTRUE = "\x88"
OP_NONE = 'N'
OP_OBJ = 'o'
OP_PERSID = 'P'
OP_POP = '0'
OP_POP_MARK = '1'
OP_PROTO = "\x80"
OP_PUT = 'p'
OP_REDUCE = 'R'
OP_SETITEM = 's'
OP_SETITEMS = 'u'
OP_SHORT_BINBYTES = 'C'
OP_SHORT_BINSTRING = 'U'
OP_STOP = '.'
OP_STRING = 'S'
OP_TUPLE = 't'
OP_TUPLE1 = "\x85"
OP_TUPLE2 = "\x86"
OP_TUPLE3 = "\x87"
OP_UNICODE = 'V'