Zend Framework
1.12
|
Public Member Functions | |
__construct ($text=null, $type=null, $lang=null, $start=null, $end=null) | |
Constructs a new MediaText element. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getType () | |
setType ($value) | |
getLang () | |
setLang ($value) | |
getStart () | |
setStart ($value) | |
getEnd () | |
setEnd ($value) | |
![]() | |
__construct () | |
Protected Member Functions | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
Protected Attributes | |
$_rootElement = 'text' | |
$_rootNamespace = 'media' | |
$_type = null | |
$_lang = null | |
$_start = null | |
$_end = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__construct | ( | $text = null , |
|
$type = null , |
|||
$lang = null , |
|||
$start = null , |
|||
$end = null |
|||
) |
Constructs a new MediaText element.
string | $text | |
string | $type | |
string | $lang | |
string | $start | |
string | $end |
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 |
getEnd | ( | ) |
getLang | ( | ) |
getStart | ( | ) |
getType | ( | ) |
setEnd | ( | $value | ) |
string | $value |
setLang | ( | $value | ) |
string | $value |
setStart | ( | $value | ) |
string | $value |
setType | ( | $value | ) |
string | $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 |
|
protected |