Overview

Namespaces

  • None
  • PHP

Classes

  • RESTian
  • RESTian_Application_Json_Parser
  • RESTian_Application_Serialized_Php_Parser
  • RESTian_Application_Xml_Parser
  • RESTian_Auth_Provider_Base
  • RESTian_Base
  • RESTian_Basic_Http_Auth_Provider
  • RESTian_Client
  • RESTian_Http_Agent_Base
  • RESTian_Not_Applicable_Provider
  • RESTian_Parser_Base
  • RESTian_Php_Curl_Http_Agent
  • RESTian_Request
  • RESTian_Response
  • RESTian_Service
  • RESTian_Settings
  • RESTian_Text_Csv_Parser
  • RESTian_Text_Html_Parser
  • RESTian_Text_Plain_Parser
  • RESTian_Var
  • RESTian_WordPress_Http_Agent
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: /**
 4:  * TODO: Need to test this one first.
 5:  */
 6: class RESTian_Application_Serialized_Php_Parser extends RESTian_Parser_Base {
 7:   /**
 8:    * Returns an object or array of stdClass objects from a string containing valid Serialized PHP
 9:    *
10:    * @param string $body
11:    * @return array|object|void A(n array of) stdClass object(s) with structure dictated by the passed Serialized PHP string.
12:    */
13:   function parse( $body ) {
14:     return unserialize( $body );
15:   }
16: }
17: 
API documentation generated by ApiGen 2.8.0