\MDMetadata
- Author: Rainer Spittel (rainer at silverstripe dot com)
Synopsis
class MDMetadata
extends MDDataObject
{
- // members
- public static array $db = ;
- public static array $summary_fields = ;
- public static array $has_many = ;
- public static array $online_resource_web_url_filter = ;
- // methods
- public static void set_online_resource_web_url_filter()
- public static void get_online_resource_web_url_filter()
- public void CIOnlineResources_WebAddresses()
- public void MetadataCIOnlineResources()
- public DataObjectSet getFilteredCIOnlineResources()
- public DataObjectSet CIOnlineResources_FirstWebAddress()
- public boolean CIOnlineResources_HasFirstWebAddress()
- public void getDateTimeInRFC3339()
- public void getCreatedInRFC3339()
- public void getPublicationInRFC3339()
- public string getTopicCategoryNice()
- public string getSpatialRepresentationTypeNice()
- public string getPlaceName()
- public void getHasBBox()
- public void loadData()
- // Inherited methods from MDDataObject
- public void loadData()
Hierarchy
Extends
Members
public
- $db
—
array
Data Structure for ISO19139 mandatory core data fields - $has_many
—
array
Relationship to other data-objects. Implement a semi ISO19139 implementation recommondation. -
$online_resource_web_url_filter
Being able to configure what is shown as 'online urls' in templates. - $summary_fields
Methods
public
- CIOnlineResources_FirstWebAddress() — Returns all CIOnlineResources objects of this metadata record which are web-addresses.
- CIOnlineResources_HasFirstWebAddress() — Returns true if a web-address for this metadata exists. It is used by the RecordFull.ss template to determine if the web-address block need to be rendered.
- CIOnlineResources_WebAddresses()
- MetadataCIOnlineResources()
- getCreatedInRFC3339() — Returns the MDDateTime in RFC3339 string format (incl. timezone).
- getDateTimeInRFC3339() — Returns the MDDateTime in RFC3339 string format (incl. timezone).
- getFilteredCIOnlineResources() — Returns all CIOnlineResources objects of this metadata record which are web-addresses.
- getHasBBox()
- getPlaceName() — Returns the nice, human readable string for the codetype (defined by the OGC ISO standard).
- getPublicationInRFC3339() — Returns the MDDateTime in RFC3339 string format (incl. timezone).
- getSpatialRepresentationTypeNice() — Returns the nice, human readable string for the codetype (defined by the OGC ISO standard).
- getTopicCategoryNice() — Returns the nice, human readable string for the codetype (defined by the OGC ISO standard).
- get_online_resource_web_url_filter()
- loadData() — This method loads a provided array into the data structure.
- set_online_resource_web_url_filter() — Sets the whiltelist array for online web urls protocol.
Inherited from MDDataObject
public
- loadData() — This method loads the content of the given array $data into the current dataobject. Similar to the DataObject-merge function, but without iterating through the relationships.