Zend Framework
1.12
|
Public Member Functions | |
__construct ($url=null, $width=null, $height=null) | |
Constructs a new MediaPlayer element. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getUrl () | |
setUrl ($value) | |
getWidth () | |
setWidth ($value) | |
getHeight () | |
setHeight ($value) | |
![]() | |
__construct () | |
Protected Member Functions | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
Protected Attributes | |
$_rootElement = 'player' | |
$_rootNamespace = 'media' | |
$_url = null | |
$_width = null | |
$_height = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__construct | ( | $url = null , |
|
$width = null , |
|||
$height = null |
|||
) |
Constructs a new MediaPlayer element.
string | $url | |
int | $width | |
int | $height |
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 |
getHeight | ( | ) |
getUrl | ( | ) |
getWidth | ( | ) |
setHeight | ( | $value | ) |
int | $value |
setUrl | ( | $value | ) |
string | $value |
setWidth | ( | $value | ) |
int | $value |
|
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 |
|
protected |
|
protected |