web/lib/Zend/Serializer/Adapter/Amf3.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Serializer
    16  * @package    Zend_Serializer
    17  * @subpackage Adapter
    17  * @subpackage Adapter
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Amf3.php 20574 2010-01-24 17:39:14Z mabe $
    20  * @version    $Id: Amf3.php 24593 2012-01-05 20:35:02Z matthew $
    21  */
    21  */
    22 
    22 
    23 /** @see Zend_Serializer_Adapter_AdapterAbstract */
    23 /** @see Zend_Serializer_Adapter_AdapterAbstract */
    24 require_once 'Zend/Serializer/Adapter/AdapterAbstract.php';
    24 require_once 'Zend/Serializer/Adapter/AdapterAbstract.php';
    25 
    25 
    37 
    37 
    38 /**
    38 /**
    39  * @category   Zend
    39  * @category   Zend
    40  * @package    Zend_Serializer
    40  * @package    Zend_Serializer
    41  * @subpackage Adapter
    41  * @subpackage Adapter
    42  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    42  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    43  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    43  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    44  */
    44  */
    45 class Zend_Serializer_Adapter_Amf3 extends Zend_Serializer_Adapter_AdapterAbstract
    45 class Zend_Serializer_Adapter_Amf3 extends Zend_Serializer_Adapter_AdapterAbstract
    46 {
    46 {
    47     /**
    47     /**
    48      * Serialize a PHP value to AMF3 format
    48      * Serialize a PHP value to AMF3 format
    49      * 
    49      *
    50      * @param  mixed $value 
    50      * @param  mixed $value
    51      * @param  array $opts 
    51      * @param  array $opts
    52      * @return string
    52      * @return string
    53      * @throws Zend_Serializer_Exception
    53      * @throws Zend_Serializer_Exception
    54      */
    54      */
    55     public function serialize($value, array $opts = array())
    55     public function serialize($value, array $opts = array())
    56     {
    56     {
    65         }
    65         }
    66     }
    66     }
    67 
    67 
    68     /**
    68     /**
    69      * Deserialize an AMF3 value to PHP
    69      * Deserialize an AMF3 value to PHP
    70      * 
    70      *
    71      * @param  mixed $value 
    71      * @param  mixed $value
    72      * @param  array $opts 
    72      * @param  array $opts
    73      * @return string
    73      * @return string
    74      * @throws Zend_Serializer_Exception
    74      * @throws Zend_Serializer_Exception
    75      */
    75      */
    76     public function unserialize($value, array $opts = array())
    76     public function unserialize($value, array $opts = array())
    77     {
    77     {