Basic class describing a publication date for a format (used on the ONIX templates for publication formats). More...
Public Member Functions | |
| getDate () | |
| getDate () | |
| getDateFormat () | |
| getDateFormat () | |
| getNameForONIXCode () | |
| getNameForONIXCode () | |
| getPublicationFormatId () | |
| getPublicationFormatId () | |
| getReadableDates () | |
| getReadableDates () | |
| getRole () | |
| getRole () | |
| isFreeText () | |
| isFreeText () | |
| isHijriCalendar () | |
| isHijriCalendar () | |
| PublicationDate () | |
| PublicationDate () | |
| setDate ($date) | |
| setDate ($date) | |
| setDateFormat ($format) | |
| setDateFormat ($format) | |
| setPublicationformatId ($publicationFormatId) | |
| setPublicationformatId ($publicationFormatId) | |
| setRole ($role) | |
| setRole ($role) | |
Basic class describing a publication date for a format (used on the ONIX templates for publication formats).
Definition at line 16 of file PublicationDate.inc.php.
| PublicationDate.getDate | ( | ) |
Get the date for the publication date
Definition at line 102 of file PublicationDate.inc.php.
Referenced by getReadableDates().
| PublicationDate.getDate | ( | ) |
Get the date for the publication date
Definition at line 102 of file PublicationDate.inc.php.
| PublicationDate.getDateFormat | ( | ) |
Get the date format for the publication date
Definition at line 76 of file PublicationDate.inc.php.
Referenced by getReadableDates(), isFreeText(), and isHijriCalendar().
| PublicationDate.getDateFormat | ( | ) |
Get the date format for the publication date
Definition at line 76 of file PublicationDate.inc.php.
| PublicationDate.getNameForONIXCode | ( | ) |
Get the human readable name for this ONIX code
Definition at line 84 of file PublicationDate.inc.php.
References getRole().
| PublicationDate.getNameForONIXCode | ( | ) |
Get the human readable name for this ONIX code
Definition at line 84 of file PublicationDate.inc.php.
References getRole().
| PublicationDate.getPublicationFormatId | ( | ) |
| PublicationDate.getPublicationFormatId | ( | ) |
| PublicationDate.getReadableDates | ( | ) |
returns a readable version of the entered date, based on the format specified from List55. Necessary, so it can be parsed correctly in the template.
Definition at line 138 of file PublicationDate.inc.php.
References getDate(), getDateFormat(), isFreeText(), and isHijriCalendar().
| PublicationDate.getReadableDates | ( | ) |
returns a readable version of the entered date, based on the format specified from List55. Necessary, so it can be parsed correctly in the template.
Definition at line 138 of file PublicationDate.inc.php.
References getDate(), getDateFormat(), isFreeText(), and isHijriCalendar().
| PublicationDate.getRole | ( | ) |
Get the ONIX code for the publication date
Definition at line 60 of file PublicationDate.inc.php.
Referenced by getNameForONIXCode().
| PublicationDate.getRole | ( | ) |
Get the ONIX code for the publication date
Definition at line 60 of file PublicationDate.inc.php.
| PublicationDate.isFreeText | ( | ) |
determines whether or not the date should be parsed out with a date format.
Definition at line 123 of file PublicationDate.inc.php.
References getDateFormat().
Referenced by getReadableDates().
| PublicationDate.isFreeText | ( | ) |
determines whether or not the date should be parsed out with a date format.
Definition at line 123 of file PublicationDate.inc.php.
References getDateFormat().
| PublicationDate.isHijriCalendar | ( | ) |
Determines if this date is from the Hijri calendar.
Definition at line 110 of file PublicationDate.inc.php.
References getDateFormat().
| PublicationDate.isHijriCalendar | ( | ) |
Determines if this date is from the Hijri calendar.
Definition at line 110 of file PublicationDate.inc.php.
References getDateFormat().
Referenced by getReadableDates().
| PublicationDate.PublicationDate | ( | ) |
Constructor
Definition at line 24 of file PublicationDate.inc.php.
| PublicationDate.PublicationDate | ( | ) |
Constructor
Definition at line 24 of file PublicationDate.inc.php.
| PublicationDate.setDate | ( | $ | date | ) |
Set the date for this publication date
| $date | string |
Definition at line 94 of file PublicationDate.inc.php.
| PublicationDate.setDate | ( | $ | date | ) |
Set the date for this publication date
| $date | string |
Definition at line 94 of file PublicationDate.inc.php.
| PublicationDate.setDateFormat | ( | $ | format | ) |
Set the date format for this publication date (ONIX Codelist List55)
| $format | string |
Definition at line 68 of file PublicationDate.inc.php.
| PublicationDate.setDateFormat | ( | $ | format | ) |
Set the date format for this publication date (ONIX Codelist List55)
| $format | string |
Definition at line 68 of file PublicationDate.inc.php.
| PublicationDate.setPublicationformatId | ( | $ | publicationFormatId | ) |
set publication format id
| $pressId | int |
Definition at line 44 of file PublicationDate.inc.php.
| PublicationDate.setPublicationformatId | ( | $ | publicationFormatId | ) |
set publication format id
| $pressId | int |
Definition at line 44 of file PublicationDate.inc.php.
| PublicationDate.setRole | ( | $ | role | ) |
Set the ONIX code for this publication date
| $role | string |
Definition at line 52 of file PublicationDate.inc.php.
| PublicationDate.setRole | ( | $ | role | ) |
Set the ONIX code for this publication date
| $role | string |
Definition at line 52 of file PublicationDate.inc.php.
1.7.1