Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

SimplePie A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution.

Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Copyright: 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: http://www.opensource.org/licenses/bsd-license.php BSD License
File Size: 610 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SimplePie_Decode_HTML_Entities:: (6 methods):
  __construct()
  parse()
  consume()
  consume_range()
  unconsume()
  entity()


Class: SimplePie_Decode_HTML_Entities  - X-Ref

Decode HTML Entities

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

__construct($data)   X-Ref
Create an instance of the class with the input data

param: string $data Input data

parse()   X-Ref
Parse the input data

return: string Output data

consume()   X-Ref
Consume the next byte

return: mixed The next byte, or false, if there is no more data

consume_range($chars)   X-Ref
Consume a range of characters

param: string $chars Characters to consume
return: mixed A series of characters that match the range, or false

unconsume()   X-Ref
Unconsume one byte


entity()   X-Ref
Decode an entity