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

Class RESTian_Text_Html_Parser

TODO: Decide exactly what an HTML parser should do. What format of PHP objects/arrays?

RESTian_Parser_Base
Extended by RESTian_Text_Html_Parser
Located at parsers/text-html-parser.php
Methods summary
public array|object|
# parse( string $body )

Returns an object or array of stdClass objects from a string containing HTML

Returns an object or array of stdClass objects from a string containing HTML

Parameters

$body
string
$body

Returns

array|object|
A(n array of) stdClass object(s) with structure dictated by the passed HTML string.

Throws

Exception

Overrides

RESTian_Parser_Base::parse()
Methods inherited from RESTian_Parser_Base
__construct()
Properties inherited from RESTian_Parser_Base
$request, $response
API documentation generated by ApiGen 2.8.0