Zend Framework
1.12
|
Public Member Functions | |
__construct () | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getFormat () | |
Returns the format of the media Optional. | |
setFormat ($value) | |
Sets the format of the media. | |
![]() | |
__construct ($url=null, $fileSize=null, $type=null, $medium=null, $isDefault=null, $expression=null, $bitrate=null, $framerate=null, $samplingrate=null, $channels=null, $duration=null, $height=null, $width=null, $lang=null) | |
Creates an individual MediaContent object. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
__toString () | |
Returns the URL representing this MediaContent object. | |
getUrl () | |
setUrl ($value) | |
getFileSize () | |
setFileSize ($value) | |
getType () | |
setType ($value) | |
getMedium () | |
setMedium ($value) | |
getIsDefault () | |
setIsDefault ($value) | |
getExpression () | |
setExpression ($value) | |
getBitrate () | |
setBitrate ($value) | |
getFramerate () | |
setFramerate ($value) | |
getSamplingrate () | |
setSamplingrate ($value) | |
getChannels () | |
setChannels ($value) | |
getDuration () | |
setDuration ($value) | |
getHeight () | |
setHeight ($value) | |
getWidth () | |
setWidth ($value) | |
getLang () | |
setLang ($value) | |
![]() | |
__construct () | |
Protected Member Functions | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
![]() | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
Protected Attributes | |
$_rootElement = 'content' | |
$_rootNamespace = 'media' | |
$_format = null | |
![]() | |
$_rootElement = 'content' | |
$_rootNamespace = 'media' | |
$_url = null | |
$_fileSize = null | |
$_type = null | |
$_medium = null | |
$_isDefault = null | |
$_expression = null | |
$_bitrate = null | |
$_framerate = null | |
$_samplingrate = null | |
$_channels = null | |
$_duration = null | |
$_height = null | |
$_width = null | |
$_lang = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__construct | ( | ) |
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.
DOMDocument | $doc | The DOMDocument used to construct DOMElements |
getFormat | ( | ) |
Returns the format of the media Optional.
setFormat | ( | $value | ) |
Sets the format of the media.
int | $value | Format of the media |
|
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.
DOMNode | $attribute | The DOMNode attribute needed to be handled |
|
protected |
|
protected |
|
protected |