[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Atom Syndication Format PHP Library

Author: Elias Torres <elias@torrez.us>
Version: 0.4
File Size: 397 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"

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

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

return: string 'xmlns="{url}"' or 'xmlns:{namespace}="{url}"'
param: indexish $p XML Namespace element index
param: array $n Two-element array pair. [ 0 => {namespace}, 1 => {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($content)   X-Ref
No description



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1