\MDCitationDate
- Author: Robin Marshall (robin at mdigital dot co dot nz)
Synopsis
class MDCitationDate
extends MDDataObject
{
- // methods
- public string getDateTypeNice()
- public void getMDDateTimeInRFC3339()
- public string getDateTimeNice()
- public void loadData()
- // Inherited methods from MDDataObject
- public void loadData()
Hierarchy
Extends
Members
public
-
$db
Data structure for MDContact - $has_one
Methods
public
- getDateTimeNice() — Returns the nice, human readable string for MDDateTime. Without the validation (if the date instance is a SSDateTime object), you will get a default 01/01/1970 date when the user hasn't entered a date.
- getDateTypeNice() — Returns the nice, human readable string for the codetype (defined by the OGC ISO standard).
- getMDDateTimeInRFC3339() — Returns the MDDateTime in RFC3339 string format (incl. timezone).
- loadData() — Overwrites a specific behaviour while loaded the array data into the object.
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.