Zend Framework
1.12
|
Public Member Functions | |
__construct ($text=null, $scheme=null, $country=null) | |
Constructs a new MediaRating element. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getScheme () | |
setScheme ($value) | |
getCountry () | |
setCountry ($value) | |
![]() | |
__construct () | |
Protected Member Functions | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
Protected Attributes | |
$_rootElement = 'rating' | |
$_rootNamespace = 'media' | |
$_scheme = null | |
$_country = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__construct | ( | $text = null , |
|
$scheme = null , |
|||
$country = null |
|||
) |
Constructs a new MediaRating element.
string | $text | |
string | $scheme | |
string | $country |
getCountry | ( | ) |
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 |
getScheme | ( | ) |
setCountry | ( | $value | ) |
string | $value |
setScheme | ( | $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 |