Zend_Gdata_App_Base
__construct
()
Redefined in descendants as:
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.
DOMElement
getDOM
([DOMDocument $doc = null])
-
DOMDocument
$doc: The DOMDocument used to construct DOMElements
Redefined in descendants as:
void
getExtensionAttributes
()
void
getExtensionElements
()
void
getText
([ $trim = true])
Alias for saveXML() returns XML content for this element and all
children
void
getXML
()
Get the full version of a namespace prefix
Looks up a prefix (atom:, etc.) in the list of registered namespaces and returns the full namespace URI if available. Returns the prefix, unmodified, if it's not registered.
string
lookupNamespace
( $prefix)
Add a namespace and prefix to the registered list
Takes a prefix and a full namespace URI and adds them to the list of registered namespaces for use by $this->lookupNamespace().
void
registerNamespace
(string $prefix, string $namespaceUri)
-
string
$prefix: The namespace prefix
-
string
$namespaceUri: The full namespace URI
Converts this element and all children into XML using getDOM()
string
saveXML
()
void
setExtensionAttributes
( $value)
void
setExtensionElements
( $value)
Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
void
takeAttributeFromDOM
(DOMNode $attribute)
-
DOMNode
$attribute: The DOMNode attribute needed to be handled
Redefined in descendants as:
-
Zend_Gdata_App_Extension_Category::takeAttributeFromDOM()
-
Zend_Gdata_App_Extension_Generator::takeAttributeFromDOM()
-
Zend_Gdata_App_Extension_Link::takeAttributeFromDOM()
-
Zend_Gdata_App_Extension_Text::takeAttributeFromDOM()
-
Zend_Gdata_App_Extension_Content::takeAttributeFromDOM()
-
Zend_Gdata_Extension_AttendeeStatus::takeAttributeFromDOM()
: Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
-
Zend_Gdata_Extension_AttendeeType::takeAttributeFromDOM()
: Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
-
Zend_Gdata_Extension_Comments::takeAttributeFromDOM()
-
Zend_Gdata_Extension_EntryLink::takeAttributeFromDOM()
-
Zend_Gdata_Extension_EventStatus::takeAttributeFromDOM()
-
Zend_Gdata_Extension_ExtendedProperty::takeAttributeFromDOM()
-
Zend_Gdata_Extension_FeedLink::takeAttributeFromDOM()
-
Zend_Gdata_Extension_OriginalEvent::takeAttributeFromDOM()
-
Zend_Gdata_Extension_RecurrenceException::takeAttributeFromDOM()
: Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
-
Zend_Gdata_Extension_Reminder::takeAttributeFromDOM()
-
Zend_Gdata_Extension_Transparency::takeAttributeFromDOM()
: Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
-
Zend_Gdata_Extension_Visibility::takeAttributeFromDOM()
: Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
-
Zend_Gdata_Extension_When::takeAttributeFromDOM()
-
Zend_Gdata_Extension_Where::takeAttributeFromDOM()
-
Zend_Gdata_Extension_Who::takeAttributeFromDOM()
: Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.
-
Zend_Gdata_Spreadsheets_Extension_Cell::takeAttributeFromDOM()
Given a child DOMNode, tries to determine how to map the data into object instance members. If no mapping is defined, Extension_Element objects are created and stored in an array.
void
takeChildFromDOM
(DOMNode $child)
-
DOMNode
$child: The DOMNode needed to be handled
Redefined in descendants as:
Transfers each child and attribute into member variables.
This is called when XML is received over the wire and the data model needs to be built to represent this XML.
void
transferFromDOM
(DOMNode $node)
-
DOMNode
$node: The DOMNode that represents this object's data
Redefined in descendants as:
void
transferFromXML
( $xml)
Magic getter to allow acces like $entry->foo to call $entry->getFoo() Alternatively, if no getFoo() is defined, but a $_foo protected variable is defined, this is returned.
TODO Remove ability to bypass getFoo() methods??
void
__get
(string $name)
-
string
$name: The variable name sought
Redefined in descendants as:
Magic __isset method
void
__isset
(string $name)
Magic setter to allow acces like $entry->foo='bar' to call $entry->setFoo('bar') automatically.
Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.
TODO Remove ability to bypass getFoo() methods??
void
__set
(string $name, $val, string $value)
-
string
$name
-
string
$value
-
$val
Magic toString method allows using this directly via echo
Works best in PHP >= 4.2.0
void
__toString
()
Redefined in descendants as:
Magic __unset method
void
__unset
(string $name)