Abstract Class Zend_Gdata_App_Base

Description

Abstract class for all XML elements

  • copyright: Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
  • abstract:
  • license: New BSD License

Located in /Gdata/App/Base.php (line 31)


	
			
Direct descendents
Class Description
 class Zend_Gdata_Gapps_Error Gdata Gapps Error class. This class is used to represent errors returned within an AppsForYourDomainErrors message received from the Google Apps servers.
Abstract class Zend_Gdata_App_FeedEntryParent Abstract class for common functionality in entries and feeds
Abstract class Zend_Gdata_App_Extension Gdata App extensions
Variable Summary
Method Summary
 Zend_Gdata_App_Base __construct ()
 string encode ()
 DOMElement getDOM ([DOMDocument $doc = null])
 string getText ([ $trim = true])
 string getXML ()
 string lookupNamespace ( $prefix)
 void registerNamespace (string $prefix, string $namespaceUri)
 string saveXML ()
 Zend_Gdata_App_Base setText (string $value)
 void takeAttributeFromDOM (DOMNode $attribute)
 void takeChildFromDOM (DOMNode $child)
 void transferFromDOM (DOMNode $node)
 void transferFromXML (string $xml)
 void __get (string $name)
 void __isset (string $name)
 void __set (string $name,  $val, string $value)
 string __toString ()
 void __unset (string $name)
Variables
array $_extensionAttributes = array() (line 58)
  • var: Leftover attributes which were not handled
  • access: protected
array $_extensionElements = array() (line 53)
  • var: Leftover elements which were not handled
  • access: protected
array $_namespaces = array(
'atom' => 'http://www.w3.org/2005/Atom',
'app' => 'http://purl.org/atom/app#'
)
(line 68)
  • access: protected
string $_rootElement = null (line 37)
  • var: The XML element name, including prefix if desired
  • access: protected

Redefined in descendants as:
string $_rootNamespace = 'atom' (line 42)
  • var: The XML namespace prefix
  • access: protected

Redefined in descendants as:
string $_rootNamespaceURI = null (line 48)
  • var: The XML namespace URI - takes precedence over lookup up the corresponding URI for $_rootNamespace
  • access: protected
string $_text = null (line 63)
  • var: XML child text node content
  • access: protected
Methods
Constructor __construct (line 73)
  • access: public
Zend_Gdata_App_Base __construct ()

Redefined in descendants as:
encode (line 314)

Alias for saveXML()

Can be overridden by children to provide more complex representations of entries.

  • return: Encoded string content
  • access: public
string encode ()

Redefined in descendants as:
getDOM (line 169)

Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.

  • return: The DOMElement representing this element and all child properties.
  • access: public
DOMElement getDOM ([DOMDocument $doc = null])
  • DOMDocument $doc: The DOMDocument used to construct DOMElements

Redefined in descendants as: