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

Public Member Functions

 __construct ($url=null, $width=null, $height=null, $time=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getUrl ()
 setUrl ($value)
 getWidth ()
 setWidth ($value)
 getHeight ()
 setHeight ($value)
 getTime ()
 setTime ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'thumbnail'
 $_rootNamespace = 'media'
 $_url = null
 $_width = null
 $_height = null
 $_time = null

Detailed Description

Definition at line 38 of file MediaThumbnail.php.


Constructor & Destructor Documentation

__construct ( url = null,
width = null,
height = null,
time = null 
)

Constructs a new MediaThumbnail element

Parameters:
string$url
int$width
int$height
string$time

Definition at line 72 of file MediaThumbnail.php.

Here is the call graph for this function:


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.

Definition at line 93 of file MediaThumbnail.php.

getHeight ( )
Returns:
int

Definition at line 177 of file MediaThumbnail.php.

getTime ( )
Returns:
string

Definition at line 195 of file MediaThumbnail.php.

getUrl ( )
Returns:
string

Definition at line 141 of file MediaThumbnail.php.

getWidth ( )
Returns:
int

Definition at line 159 of file MediaThumbnail.php.

setHeight ( value)
Parameters:
int$value
Returns:
Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface

Definition at line 186 of file MediaThumbnail.php.

setTime ( value)
Parameters:
string$value
Returns:
Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface

Definition at line 204 of file MediaThumbnail.php.

setUrl ( value)
Parameters:
string$value
Returns:
Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface

Definition at line 150 of file MediaThumbnail.php.

setWidth ( value)
Parameters:
int$value
Returns:
Zend_Gdata_Media_Extension_MediaThumbnail Provides a fluent interface

Definition at line 168 of file MediaThumbnail.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 118 of file MediaThumbnail.php.


Field Documentation

$_height = null [protected]

Definition at line 57 of file MediaThumbnail.php.

$_rootElement = 'thumbnail' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 41 of file MediaThumbnail.php.

$_rootNamespace = 'media' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 42 of file MediaThumbnail.php.

$_time = null [protected]

Definition at line 62 of file MediaThumbnail.php.

$_url = null [protected]

Definition at line 47 of file MediaThumbnail.php.

$_width = null [protected]

Definition at line 52 of file MediaThumbnail.php.


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