## Zend_Gdata_App_Extension_Link

Description

Data model for representing an atom:link element

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

Located in /Gdata/App/Extension/Link.php (line 38)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_Extension
          |
          --Zend_Gdata_App_Extension_Link

Direct descendents

Class | Description
--- | ---
Zend_Gdata_Books_Extension_BooksLink | Extends the base Link class with Books extensions
Zend_Gdata_YouTube_Extension_Link | Specialized Link class for use with YouTube. Enables use of yt extension elements.
Zend_Gdata_Calendar_Extension_Link | Specialized Link class for use with Calendar. Enables use of gCal extension elements.

Variable Summary
mixed $_href
mixed $_hrefLang
mixed $_length
mixed $_rel
mixed $_rootElement
mixed $_title
mixed $_type
Method Summary
Zend_Gdata_App_Extension_Link __construct ([ $href = null], [ $rel = null], [ $type = null], [ $hrefLang = null], [ $title = null], [ $length = null])
void getDOM ([ $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
string|null getHref ()
string|null getHrefLang ()
string|null getLength ()
string|null getRel ()
string|null getTitle ()
string|null getType ()
Zend_Gdata_App_Entry setHref (string|null $value)
Zend_Gdata_App_Entry setHrefLang (string|null $value)
Zend_Gdata_App_Entry setLength (string|null $value)
Zend_Gdata_App_Entry setRel (string|null $value)
Zend_Gdata_App_Entry setTitle (string|null $value)
Zend_Gdata_App_Entry setType (string|null $value)
void takeAttributeFromDOM ( $attribute)
Variables
mixed $_href = null (line 42)

- access: protected

mixed $_hrefLang = null (line 45)

- access: protected

mixed $_length = null (line 47)

- access: protected

mixed $_rel = null (line 43)

- access: protected

mixed $_rootElement = 'link' (line 41)

- access: protected

Redefinition of:

Zend_Gdata_App_Base::$_rootElement

mixed $_title = null (line 46)

- access: protected

mixed $_type = null (line 44)

- access: protected

#### Inherited Variables

Inherited from Zend_Gdata_App_Base

> Zend_Gdata_App_Base::$_extensionAttributes
> Zend_Gdata_App_Base::$_extensionElements
> Zend_Gdata_App_Base::$_namespaceLookupCache
> Zend_Gdata_App_Base::$_namespaces
> Zend_Gdata_App_Base::$_rootNamespace
> Zend_Gdata_App_Base::$_rootNamespaceURI
> Zend_Gdata_App_Base::$_text

Methods
Constructor __construct (line 49)

- access: public

Zend_Gdata_App_Extension_Link __construct ([ $href = null], [ $rel = null], [ $type = null], [ $hrefLang = null], [ $title = null], [ $length = null])

- $href
- $rel
- $type
- $hrefLang
- $title
- $length

Redefinition of:

Zend_Gdata_App_Base::__construct()

Redefined in descendants as:

- Zend_Gdata_Books_Extension_BooksLink::__construct() : Constructor for Zend_Gdata_Books_Extension_BooksLink which Extends the base Link class with Books extensions
- Zend_Gdata_Books_Extension_PreviewLink::__construct() : Constructor for Zend_Gdata_Books_Extension_PreviewLink which Describes a preview link
- Zend_Gdata_Books_Extension_ThumbnailLink::__construct() : Constructor for Zend_Gdata_Books_Extension_ThumbnailLink which Describes a thumbnail link
- Zend_Gdata_Books_Extension_AnnotationLink::__construct() : Constructor for Zend_Gdata_Books_Extension_AnnotationLink which Describes an annotation link
- Zend_Gdata_Books_Extension_InfoLink::__construct() : Constructor for Zend_Gdata_Books_Extension_InfoLink which Describes an info link
- Zend_Gdata_YouTube_Extension_Link::__construct() : Constructs a new Zend_Gdata_Calendar_Extension_Link object.
- Zend_Gdata_Calendar_Extension_Link::__construct() : Constructs a new Zend_Gdata_Calendar_Extension_Link object.

getDOM (line 61)

- access: public

void getDOM ([ $doc = null], [ $majorVersion = 1], [ $minorVersion = null])

- $doc
- $majorVersion
- $minorVersion

Redefinition of:

Zend_Gdata_App_Base::getDOM()
  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.

Redefined in descendants as:

- Zend_Gdata_YouTube_Extension_Link::getDOM() : 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.
- Zend_Gdata_Calendar_Extension_Link::getDOM() : 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.

getHref (line 114)

- access: public

string|null getHref ()
getHrefLang (line 168)

- access: public

string|null getHrefLang ()
getLength (line 204)

- access: public

string|null getLength ()
getRel (line 132)

- access: public

string|null getRel ()
getTitle (line 186)

- access: public

string|null getTitle ()
getType (line 150)

- access: public

string|null getType ()
setHref (line 123)

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_Entry setHref (string|null $value)

- string|null $value

setHrefLang (line 177)

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_Entry setHrefLang (string|null $value)

- string|null $value

setLength (line 213)

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_Entry setLength (string|null $value)

- string|null $value

setRel (line 141)

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_Entry setRel (string|null $value)

- string|null $value

setTitle (line 195)

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_Entry setTitle (string|null $value)

- string|null $value

setType (line 159)

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_Entry setType (string|null $value)

- string|null $value

takeAttributeFromDOM (line 85)

- access: protected

void takeAttributeFromDOM ( $attribute)

- $attribute

Redefinition of:

Zend_Gdata_App_Base::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.

#### Inherited Methods

Inherited From Zend_Gdata_App_Base

> Zend_Gdata_App_Base::__construct()
> Zend_Gdata_App_Base::encode()
> Zend_Gdata_App_Base::flushNamespaceLookupCache()
> Zend_Gdata_App_Base::getDOM()
> Zend_Gdata_App_Base::getExtensionAttributes()
> Zend_Gdata_App_Base::getExtensionElements()
> Zend_Gdata_App_Base::getText()
> Zend_Gdata_App_Base::getXML()
> Zend_Gdata_App_Base::lookupNamespace()
> Zend_Gdata_App_Base::registerAllNamespaces()
> Zend_Gdata_App_Base::registerNamespace()
> Zend_Gdata_App_Base::saveXML()
> Zend_Gdata_App_Base::setExtensionAttributes()
> Zend_Gdata_App_Base::setExtensionElements()
> Zend_Gdata_App_Base::setText()
> Zend_Gdata_App_Base::takeAttributeFromDOM()
> Zend_Gdata_App_Base::takeChildFromDOM()
> Zend_Gdata_App_Base::transferFromDOM()
> Zend_Gdata_App_Base::transferFromXML()
> Zend_Gdata_App_Base::__get()
> Zend_Gdata_App_Base::__isset()
> Zend_Gdata_App_Base::__set()
> Zend_Gdata_App_Base::__toString()
> Zend_Gdata_App_Base::__unset()

Documentation generated on Tue, 26 Oct 2010 20:08:53 +0400 by phpDocumentor 1.4.2