Zend Framework
1.12
|
Public Member Functions | |
__construct ($text=null, $scheme=null, $label=null) | |
Creates an individual MediaCategory object. | |
getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
Retrieves a DOMElement which corresponds to this element and all child properties. | |
getScheme () | |
Returns the URI that identifies the categorization scheme Optional. | |
setScheme ($value) | |
getLabel () | |
setLabel ($value) | |
![]() | |
__construct () | |
Protected Member Functions | |
takeAttributeFromDOM ($attribute) | |
Given a DOMNode representing an attribute, tries to map the data into instance members. | |
Protected Attributes | |
$_rootElement = 'category' | |
$_rootNamespace = 'media' | |
$_scheme = null | |
$_label = null | |
![]() | |
$_rootNamespace = 'gd' | |
Additional Inherited Members | |
![]() | |
static | flushNamespaceLookupCache () |
Flush namespace lookup cache. | |
![]() | |
static | $_namespaceLookupCache = array() |
__construct | ( | $text = null , |
|
$scheme = null , |
|||
$label = null |
|||
) |
Creates an individual MediaCategory object.
string | $text | Indication of the type and content of the media |
string | $scheme | URI that identifies the categorization scheme |
string | $label | Human-readable label to be displayed in applications |
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 |
getLabel | ( | ) |
getScheme | ( | ) |
Returns the URI that identifies the categorization scheme Optional.
setLabel | ( | $value | ) |
string | $value | Human-readable label to be displayed in applications |
setScheme | ( | $value | ) |
string | $value | URI that identifies the categorization scheme |
|
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 |