Class Zend_Gdata_Calendar_Extension_WebContent

Description

Represents the gCal:webContent element used by the Calendar data API

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

Located in /Gdata/Calendar/Extension/WebContent.php (line 35)

Zend_Gdata_App_Extension_Link
   |
   --Zend_Gdata_Calendar_Extension_WebContent
Variable Summary
 mixed $_height
 mixed $_url
 mixed $_width
Method Summary
 Zend_Gdata_Calendar_Extension_WebContent __construct ([ $href = null], [ $rel = null], [ $type = null], [ $hrefLang = null], [ $title = null], [ $length = null], [ $text = null], [ $_url = null], [ $_height = null], [ $_width = null], string $url, string $height, string $width)
 DOMElement getDOM ([DOMDocument $doc = null])
 int getHeight ()
 string getURL ()
 int getWidth ()
 Zend_GData_Calendar_Extension_WebContent setHeight (int $value)
 Zend_GData_Calendar_Extension_WebContent setURL (bool $value)
 Zend_GData_Calendar_Extension_WebContent setWidth (int $value)
 void takeAttributeFromDOM (DOMNode $attribute)
Variables
mixed $_height = null (line 41)
  • access: protected
mixed $_rootElement = 'gCal:webContent' (line 39)
  • access: protected
mixed $_rootNamespace = 'gCal' (line 38)
  • access: protected
mixed $_url = null (line 40)
  • access: protected
mixed $_width = null (line 42)
  • access: protected
Methods
Constructor __construct (line 50)

Constructs a new Zend_Gdata_Calendar_Extension_WebContent object.

  • access: public
Zend_Gdata_Calendar_Extension_WebContent __construct ([ $href = null], [ $rel = null], [ $type = null], [ $hrefLang = null], [ $title = null], [ $length = null], [ $text = null], [ $_url = null], [ $_height = null], [ $_width = null], string $url, string $height, string $width)
  • string $url: (optional) The value for this element's URL attribute.
  • string $height: (optional) The value for this element's height attribute.
  • string $width: (optional) The value for this element's width attribute.
  • $href
  • $rel
  • $type
  • $hrefLang
  • $title
  • $length
  • $text
  • $_url
  • $_height
  • $_width
getDOM (line 74)

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
getHeight (line 110)

Get the value for this element's height attribute.

  • return: The desired value for this attribute.
  • access: public
int getHeight ()
getURL (line 88)

Get the value for this element's URL attribute.

  • return: The desired value for this attribute.
  • access: public
string getURL ()
getWidth (line 132)

Get the value for this element's height attribute.

  • return: The desired value for this attribute.
  • access: public
int getWidth ()
setHeight (line 121)

Set the value for this element's height attribute.

  • return: The element being modified.
  • access: public
Zend_GData_Calendar_Extension_WebContent setHeight (int $value)
  • int $value: The desired value for this attribute.
setURL (line 99)

Set the value for this element's URL attribute.

  • return: The element being modified.
  • access: public
Zend_GData_Calendar_Extension_WebContent setURL (bool $value)
  • bool $value: The desired value for this attribute.
setWidth (line 143)

Set the value for this element's height attribute.

  • return: The element being modified.
  • access: public
Zend_GData_Calendar_Extension_WebContent setWidth (int $value)
  • int $value: The desired value for this attribute.
takeAttributeFromDOM (line 157)

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

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