SimplePie: PHP-based RSS and Atom feed handling
 
  • Overview
  • Demo
  • Blog
  • Download
  • Documentation
  • API Docs
  • Support
  • Issue Tracker
  • FAQ
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • SimplePie
    • API
    • Caching
    • HTTP
    • Parsing

Classes

  • SimplePie_Decode_HTML_Entities
  • SimplePie_Locator
  • SimplePie_Misc
  • SimplePie_Registry
  • SimplePie_Sanitize

Class SimplePie_Decode_HTML_Entities

Decode HTML Entities

This implements HTML5 as of revision 967 (2007-06-28)

Package: SimplePie
Deprecated: Use DOMDocument instead!
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Decode/HTML/Entities.php
Methods summary
public
# __construct( string $data )

Create an instance of the class with the input data

Parameters

$data
string
Input data
public string
# parse( )

Parse the input data

Returns

string
Output data
public mixed
# consume( )

Consume the next byte

Returns

mixed
The next byte, or false, if there is no more data
public mixed
# consume_range( string $chars )

Consume a range of characters

Parameters

$chars
string
Characters to consume

Returns

mixed
A series of characters that match the range, or false
public
# unconsume( )

Unconsume one byte

public
# entity( )

Decode an entity

Properties summary
public string $data ''
#

Data to be parsed

public string $consumed ''
#

Currently consumed bytes

public integer $position 0
#

Position of the current byte being parsed

Show some love! Wishlists for Geoffrey, Ryan P., and Ryan M.

SimplePie is © 2004–2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue and contributors. Licensed under the BSD License. Hosted thanks to Matt Mullenweg, API documentation generated by ApiGen 2.6.1. Variation on the Feed Icon by Wolfgang Bartelme.