metadata_elementA 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
mixed
$base_element
= true (line 529)
Whether this is a base element, or has a parent
mixed
$child_element_ids
= array() (line 480)
Child element_ids of this element
mixed
$default_value
= "" (line 506)
The default value for this element
mixed
$description
= "" (line 496)
Element description, usage details
mixed
$display_order
= 0 (line 510)
Order of display
mixed
$element_id
= "" (line 476)
The element ID for this item
mixed
$element_name
= "" (line 490)
The base name of this element
mixed
$enc_scheme_id
= "" (line 525)
The encoding scheme/vocabulary used to pick the tag content
mixed
$enc_scheme_tag
= "" (line 527)
The tag used to identify the encoding scheme used
mixed
$gotinfo
= false (line 469)
Whether info has been already got
mixed
$gotschemes
= false (line 471)
Whether schemes have been already got
mixed
$indexed
= false (line 498)
Whether this element should be indexed
mixed
$instantiated
= false (line 482)
Whether this element is instantiated as layout metadata
mixed
$label
= "" (line 494)
Label against the element value field
mixed
$language
= "" (line 523)
The language of the content or resource referenced by URI
mixed
$linked_uri
= false (line 521)
Whether the tag value is actually a URL/URI
mixed
$list_of_values
= "" (line 508)
A list of permitted element values
mixed
$obligation
= "o" (line 502)
Whether optional, mandatory, conditional or recommended
mixed
$obligation_desc
= "" (line 504)
Obligation, descriptive
mixed
$parent_element_id
= "" (line 478)
The element ID of the parent element of this item
mixed
$preferred_scheme_id
= "" (line 515)
ID of preferred scheme for this metadata element
mixed
$schema_name
= "" (line 484)
The meta schema that this item was sourced from
mixed
$schema_namespace
= "" (line 486)
The namespace code for the schema
mixed
$schema_namespace_uri
= "" (line 488)
The refence URi for the schema
mixed
$schemes
= array() (line 513)
Schemes associated with this metadata element. This
mixed
$searchable
= false (line 500)
Whether this element can be searched for
mixed
$tag_name
= "" (line 492)
The full tag name of this element
mixed
$tag_value
(line 519)
The content of this metadata tag. This is the actual metadata
mixed
$valid
= false (line 473)
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