Class XmlManager
Manages application-wide namespaces and XML parsing/generation settings. Private class, used exclusively within scope of XML class.
Package: cake\cake\libs
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: xml.php
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: xml.php
Properties summary
-
$defaultNamespaceMap
publicarray
Map of common namespace URIs -
$namespaces
publicarray
Global XML namespaces. Used in all XML documents processed by this application -
$options
publicarray
Global XML document parsing/generation settings.
Method Summary
-
getInstance() public
Returns a reference to the global XML object that manages app-wide XML settings
Method Detail
getInstance() public ¶
getInstance( )
Returns a reference to the global XML object that manages app-wide XML settings
Returns
object
Properties detail
$defaultNamespaceMap ¶
public
array
Map of common namespace URIs
array( 'dc' => 'http://purl.org/dc/elements/1.1/', // Dublin Core 'dct' => 'http://purl.org/dc/terms/', // Dublin Core Terms 'g' => 'http://base.google.com/ns/1.0', // Google Base 'rc' => 'http://purl.org/rss/1.0/modules/content/', // RSS 1.0 Content Module 'wf' => 'http://wellformedweb.org/CommentAPI/', // Well-Formed Web Comment API 'fb' => 'http://rssnamespace.org/feedburner/ext/1.0', // FeedBurner extensions 'lj' => 'http://www.livejournal.org/rss/lj/1.0/', // Live Journal 'itunes' => 'http://www.itunes.com/dtds/podcast-1.0.dtd', // iTunes 'xhtml' => 'http://www.w3.org/1999/xhtml', // XHTML, 'atom' => 'http://www.w3.org/2005/Atom' // Atom )
$namespaces ¶
public
array
Global XML namespaces. Used in all XML documents processed by this application
array()