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 465)
RenderableObject | --metadata_element
mixed
$base_element
= true (line 528)
Whether this is a base element, or has a parent
mixed
$child_element_ids
= array() (line 479)
Child element_ids of this element
mixed
$default_value
= "" (line 505)
The default value for this element
mixed
$description
= "" (line 495)
Element description, usage details
mixed
$display_order
= 0 (line 509)
Order of display
mixed
$element_id
= "" (line 475)
The element ID for this item
mixed
$element_name
= "" (line 489)
The base name of this element
mixed
$enc_scheme_id
= "" (line 524)
The encoding scheme/vocabulary used to pick the tag content
mixed
$enc_scheme_tag
= "" (line 526)
The tag used to identify the encoding scheme used
mixed
$gotinfo
= false (line 468)
Whether info has been already got
mixed
$gotschemes
= false (line 470)
Whether schemes have been already got
mixed
$indexed
= false (line 497)
Whether this element should be indexed
mixed
$instantiated
= false (line 481)
Whether this element is instantiated as layout metadata
mixed
$label
= "" (line 493)
Label against the element value field
mixed
$language
= "" (line 522)
The language of the content or resource referenced by URI
mixed
$linked_uri
= false (line 520)
Whether the tag value is actually a URL/URI
mixed
$list_of_values
= "" (line 507)
A list of permitted element values
mixed
$obligation
= "o" (line 501)
Whether optional, mandatory, conditional or recommended
mixed
$obligation_desc
= "" (line 503)
Obligation, descriptive
mixed
$parent_element_id
= "" (line 477)
The element ID of the parent element of this item
mixed
$preferred_scheme_id
= "" (line 514)
ID of preferred scheme for this metadata element
mixed
$schema_name
= "" (line 483)
The meta schema that this item was sourced from
mixed
$schema_namespace
= "" (line 485)
The namespace code for the schema
mixed
$schema_namespace_uri
= "" (line 487)
The refence URi for the schema
mixed
$schemes
= array() (line 512)
Schemes associated with this metadata element. This
mixed
$searchable
= false (line 499)
Whether this element can be searched for
mixed
$tag_name
= "" (line 491)
The full tag name of this element
mixed
$tag_value
(line 518)
The content of this metadata tag. This is the actual metadata
mixed
$valid
= false (line 472)
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