Basic class describing a genre. More...
Public Member Functions | |
| Genre () | |
| getCategory () | |
| getDesignation ($locale) | |
| getLocalizedDesignation () | |
| getLocalizedName () | |
| getName ($locale) | |
| getPressId () | |
| getSortable () | |
| setCategory ($category) | |
| setDesignation ($abbrev, $locale) | |
| setName ($name, $locale) | |
| setPressId ($pressId) | |
| setSortable ($sortable) | |
Basic class describing a genre.
Definition at line 21 of file Genre.inc.php.
| Genre.Genre | ( | ) |
Constructor
Definition at line 25 of file Genre.inc.php.
| Genre.getCategory | ( | ) |
Get monograph file category (e.g. artwork or document)
Definition at line 117 of file Genre.inc.php.
| Genre.getDesignation | ( | $ | locale | ) |
Get the designation of the genre
| $locale | string |
Definition at line 85 of file Genre.inc.php.
| Genre.getLocalizedDesignation | ( | ) |
Get the localized designation of the genre
Definition at line 93 of file Genre.inc.php.
| Genre.getLocalizedName | ( | ) |
| Genre.getName | ( | $ | locale | ) |
Get the name of the genre
| $locale | string |
Definition at line 59 of file Genre.inc.php.
| Genre.getPressId | ( | ) |
| Genre.getSortable | ( | ) |
| Genre.setCategory | ( | $ | category | ) |
Set monograph file category (e.g. artwork or document)
| $category | int GENRE_CATEGORY_... |
Definition at line 125 of file Genre.inc.php.
| Genre.setDesignation | ( | $ | abbrev, | |
| $ | locale | |||
| ) |
Set the designation of the genre
| $abbrev | string | |
| $locale | string |
Definition at line 76 of file Genre.inc.php.
| Genre.setName | ( | $ | name, | |
| $ | locale | |||
| ) |
Set the name of the genre
| $name | string | |
| $locale | string |
Definition at line 50 of file Genre.inc.php.
| Genre.setPressId | ( | $ | pressId | ) |
| Genre.setSortable | ( | $ | sortable | ) |
Set sortable flag of the monograph type
| $sortable | bool |
Definition at line 109 of file Genre.inc.php.
1.7.1