[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-includes/ -> atomlib.php (summary)

Atom Syndication Format PHP Library

Author: Elias Torres <elias@torrez.us>
Version: 0.4
File Size: 394 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

AtomFeed:: (0 methods):

AtomEntry:: (0 methods):

AtomParser:: (16 methods):
  __construct()
  AtomParser()
  map_attrs()
  map_xmlns()
  _p()
  error_handler()
  parse()
  start_element()
  end_element()
  start_ns()
  end_ns()
  cdata()
  _default()
  ns_to_prefix()
  is_declared_content_ns()
  xml_escape()


Class: AtomFeed  - X-Ref

Structure that store common Atom Feed Properties

Class: AtomEntry  - X-Ref

Structure that store Atom Entry Properties

Class: AtomParser  - X-Ref

AtomLib Atom Parser API

__construct()   X-Ref
PHP5 constructor.


AtomParser()   X-Ref
PHP4 constructor.


map_attrs($k, $v)   X-Ref
Map attributes to key="val"

param: string $k Key
param: string $v Value
return: string

map_xmlns($p, $n)   X-Ref
Map XML namespace to string.

param: indexish $p XML Namespace element index
param: array $n Two-element array pair. [ 0 => {namespace}, 1 => {url} ]
return: string 'xmlns="{url}"' or 'xmlns:{namespace}="{url}"'

_p($msg)   X-Ref
No description

error_handler($log_level, $log_text, $error_file, $error_line)   X-Ref
No description

parse()   X-Ref
No description

start_element($parser, $name, $attrs)   X-Ref
No description

end_element($parser, $name)   X-Ref
No description

start_ns($parser, $prefix, $uri)   X-Ref
No description

end_ns($parser, $prefix)   X-Ref
No description

cdata($parser, $data)   X-Ref
No description

_default($parser, $data)   X-Ref
No description

ns_to_prefix($qname, $attr=false)   X-Ref
No description

is_declared_content_ns($new_mapping)   X-Ref
No description

xml_escape($string)   X-Ref
No description



Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7