A class which encapsulates a metadata element. This is the actual object which will be rendered into the end-user content (eg. the webpage), and contains everything necessary for that process.
Located in /metadata-defs.php (line 466)
RenderableObject | --metadata_element
Whether this is a base element, or has a parent
Child element_ids of this element
The default value for this element
Element description, usage details
Order of display
The element ID for this item
The base name of this element
The encoding scheme/vocabulary used to pick the tag content
The tag used to identify the encoding scheme used
Whether info has been already got
Whether schemes have been already got
Whether this element should be indexed
Whether this element is instantiated as layout metadata
Label against the element value field
The language of the content or resource referenced by URI
Whether the tag value is actually a URL/URI
A list of permitted element values
Whether optional, mandatory, conditional or recommended
Obligation, descriptive
The element ID of the parent element of this item
ID of preferred scheme for this metadata element
The meta schema that this item was sourced from
The namespace code for the schema
The refence URi for the schema
Schemes associated with this metadata element. This
Whether this element can be searched for
The full tag name of this element
The content of this metadata tag. This is the actual metadata
Whether object contains valid data
Constructor
Render a definition form for this metadata element as HTML. This is a self-contained table, and it has all of the element details, and fields for setting the content, language, and scheme. It is not enclosed in a form.
Get all the relevant data for this metadata element.
Get all the info which are associated with this metadata element.
Get all the schemes which are associated with this metadata element.
Render this metadata element as HTML.
Inherit schemes from parent metadata elements. This involves a traversal of the lineage (parentage) of this current metadata element and retreival of the schemes of each one. Where the scheme is not already associated with this element, it is added.
Render this metadata element as a metatag object. This method creates the metatag object and returns it.
Process the POST of the form of this metadata element. We are just looking for the few fields containing the relevant data.
NOTE: We do NOT save anything to the database, we just update our class variables with the newly POSTed data.
Set the language of the content of this meta data element
Set the scheme used to define the content of this meta data element. If the tag of the scheme is not specified, then we go and find it by looking up the scheme record in the DB.
Set the tag value of this meta data element. This is used when the content is NOT a URI/URL. If it is, then use set_uri() instead.
Set the tag value to be a URI. Same as setting tag value but we also flick the uri flag as well.
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3