Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_App_Extension_Link Class Reference
Inheritance diagram for Zend_Gdata_App_Extension_Link:
Collaboration diagram for Zend_Gdata_App_Extension_Link:

Public Member Functions

 __construct ($href=null, $rel=null, $type=null, $hrefLang=null, $title=null, $length=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getHref ()
 setHref ($value)
 getRel ()
 setRel ($value)
 getType ()
 setType ($value)
 getHrefLang ()
 setHrefLang ($value)
 getTitle ()
 setTitle ($value)
 getLength ()
 setLength ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'link'
 $_href = null
 $_rel = null
 $_type = null
 $_hrefLang = null
 $_title = null
 $_length = null

Detailed Description

Definition at line 38 of file Link.php.


Constructor & Destructor Documentation

__construct ( href = null,
rel = null,
type = null,
hrefLang = null,
title = null,
length = null 
)

Member Function Documentation

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

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.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_App_Base.

Reimplemented in Zend_Gdata_Calendar_Extension_Link, and Zend_Gdata_YouTube_Extension_Link.

Definition at line 61 of file Link.php.

getHref ( )
Returns:
string|null

Definition at line 114 of file Link.php.

Returns:
string|null

Definition at line 168 of file Link.php.

getLength ( )
Returns:
string|null

Definition at line 204 of file Link.php.

getRel ( )
Returns:
string|null

Definition at line 132 of file Link.php.

getTitle ( )
Returns:
string|null

Definition at line 186 of file Link.php.

getType ( )
Returns:
string|null

Definition at line 150 of file Link.php.

setHref ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 123 of file Link.php.

setHrefLang ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 177 of file Link.php.

setLength ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 213 of file Link.php.

setRel ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 141 of file Link.php.

setTitle ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 195 of file Link.php.

setType ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 159 of file Link.php.

takeAttributeFromDOM ( attribute) [protected]

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.

Parameters:
DOMNode$attributeThe DOMNode attribute needed to be handled

Reimplemented from Zend_Gdata_App_Base.

Definition at line 85 of file Link.php.


Field Documentation

$_href = null [protected]

Definition at line 42 of file Link.php.

$_hrefLang = null [protected]

Definition at line 45 of file Link.php.

$_length = null [protected]

Definition at line 47 of file Link.php.

$_rel = null [protected]

Definition at line 43 of file Link.php.

$_rootElement = 'link' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 41 of file Link.php.

$_title = null [protected]

Definition at line 46 of file Link.php.

$_type = null [protected]

Definition at line 44 of file Link.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations