A class which holds multiple metadata elements, for a given layout.
Acquires all the metadata elements for a given layout. Provides the means to render these.
Located in /metadata-defs.php (line 1034)
Constructor
Add a metadata element to our array of elements. We add it to an associative array keyed on the element_id, ensuring no duplicates.
Get all of the metadata elements associated with this layout. We can
do this in two modes, determined by the $instantiated_only flag. If this is true then we only grab the data for the metadata elements which exist for the layout. Otherwise we grab ALL of them. The latter is for editing, and the former is for page rendering where we want minimal Db traffic.
Return a metadata element, given its element_id.
Insert the instantiated metatags into the given webpage. This is intended to be used on the $RESPONSE object to actually jam the tags for this layout into the webapage.
Returns a string containing a table which contains all of the meta data in a nice tree view.
Returns the number of meta elements in this layout.
Assembles all metadata elements for this layout.
Removes the layout metadata for a given element. This deletes the relevant record from the ax_layout_metadata table.
Saves the layout metadata for a given element. This saves data to the ax_layout_metadata table.
Documentation generated by phpDocumentor 1.3.0RC3