Class Zend_Gdata_Calendar_Extension_Color

Description

Represents the gCal:color element used by the Calendar data API to define the color of a calendar in the UI.

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

Located in /Gdata/Calendar/Extension/Color.php (line 36)

Zend_Gdata_Extension
   |
   --Zend_Gdata_Calendar_Extension_Color
Variable Summary
Method Summary
 Zend_Gdata_Calendar_Extension_Color __construct ([string $value = null])
 string getColor ()
 DOMElement getDOM ([DOMDocument $doc = null])
 Zend_GData_Calendar_Extension_Color setColor (string $value)
 void takeAttributeFromDOM (DOMNode $attribute)
 string __toString ()
Variables
mixed $_rootElement = 'gCal:color' (line 40)
  • access: protected
mixed $_rootNamespace = 'gCal' (line 39)
  • access: protected
mixed $_value = null (line 41)
  • access: protected
Methods
Constructor __construct (line 47)

Constructs a new Zend_Gdata_Calendar_Extension_Color object.

  • access: public
Zend_Gdata_Calendar_Extension_Color __construct ([string $value = null])
  • string $value: (optional) The text content of the element.
getColor (line 96)

Get the value for this element's value attribute.

  • return: The value associated with this attribute.
  • access: public
string getColor ()
getDOM (line 66)

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
setColor (line 107)

Set the value for this element's value attribute.

  • return: The element being modified.
  • access: public
Zend_GData_Calendar_Extension_Color setColor (string $value)
  • string $value: The desired value for this attribute.
takeAttributeFromDOM (line 80)

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.

  • access: protected
void takeAttributeFromDOM (DOMNode $attribute)
  • DOMNode $attribute: The DOMNode attribute needed to be handled
__toString (line 118)

Retrieves a human redable string describing this attribute's value.

  • return: The attribute value.
  • access: public
string __toString ()

Documentation generated on Sun, 27 May 2007 23:29:19 -0700 by phpDocumentor 1.3.2