
Public Member Functions | |
| announcements () | |
| announcementTypes () | |
| createAnnouncement () | |
| createAnnouncementType () | |
| deleteAnnouncement ($args) | |
| deleteAnnouncementType ($args) | |
| editAnnouncement ($args=array()) | |
| editAnnouncementType ($args=array()) | |
| index () | |
| index () | |
| setupTemplate ($subclass=false) | |
| setupTemplate ($subclass=false) | |
| updateAnnouncement () | |
| updateAnnouncementType () | |
| view ($args=array()) | |
Handle requests for announcement management functions.
Definition at line 18 of file AnnouncementHandler.inc.php.
| AnnouncementHandler.announcements | ( | ) |
Display a list of announcements for the current journal.
Reimplemented from ManagerHandler.
Definition at line 27 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Handler.getRangeInfo(), and setupTemplate().
Referenced by index().
| AnnouncementHandler.announcementTypes | ( | ) |
Display a list of announcement types for the current journal.
Reimplemented from ManagerHandler.
Definition at line 158 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Handler.getRangeInfo(), and setupTemplate().
| AnnouncementHandler.createAnnouncement | ( | ) |
Display form to create new announcement.
Reimplemented from ManagerHandler.
Definition at line 105 of file AnnouncementHandler.inc.php.
References editAnnouncement().
| AnnouncementHandler.createAnnouncementType | ( | ) |
Display form to create new announcement type.
Reimplemented from ManagerHandler.
Definition at line 236 of file AnnouncementHandler.inc.php.
References editAnnouncementType().
| AnnouncementHandler.deleteAnnouncement | ( | $ | args | ) |
Delete an announcement.
| $args | array first parameter is the ID of the announcement to delete |
Reimplemented from ManagerHandler.
Definition at line 46 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), and Request.redirect().
| AnnouncementHandler.deleteAnnouncementType | ( | $ | args | ) |
Delete an announcement type.
| $args | array first parameter is the ID of the announcement type to delete |
Reimplemented from ManagerHandler.
Definition at line 177 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), and Request.redirect().
| AnnouncementHandler.editAnnouncement | ( | $ | args = array() |
) |
Display form to edit an announcement.
| $args | array optional, first parameter is the ID of the announcement to edit |
Reimplemented from ManagerHandler.
Definition at line 68 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Request.redirect(), setupTemplate(), and Request.url().
Referenced by createAnnouncement().
| AnnouncementHandler.editAnnouncementType | ( | $ | args = array() |
) |
Display form to edit an announcement type.
| $args | array optional, first parameter is the ID of the announcement type to edit |
Reimplemented from ManagerHandler.
Definition at line 199 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Request.redirect(), setupTemplate(), and Request.url().
Referenced by createAnnouncementType().
| AnnouncementHandler.index | ( | ) |
Fallback method in case request handler does not implement index method.
Reimplemented from Handler.
Definition at line 20 of file AnnouncementHandler.inc.php.
References announcements().
| AnnouncementHandler.index | ( | ) |
Display announcement index page.
Reimplemented from Handler.
Definition at line 23 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Handler.getRangeInfo(), Request.redirect(), and setupTemplate().
| AnnouncementHandler.setupTemplate | ( | $ | subclass = false |
) |
Setup common template variables.
| $subclass | boolean set to true if caller is below this handler in the hierarchy |
Reimplemented from ManagerHandler.
Definition at line 286 of file AnnouncementHandler.inc.php.
References TemplateManager.getManager(), and Request.url().
| AnnouncementHandler.setupTemplate | ( | $ | subclass = false |
) |
Setup common template variables.
| $subclass | boolean set to true if caller is below this handler in the hierarchy |
Reimplemented from ManagerHandler.
Definition at line 82 of file AnnouncementHandler.inc.php.
References Request.getJournal(), TemplateManager.getManager(), and Request.url().
Referenced by announcements(), announcementTypes(), editAnnouncement(), editAnnouncementType(), index(), updateAnnouncement(), updateAnnouncementType(), and view().
| AnnouncementHandler.updateAnnouncement | ( | ) |
Save changes to an announcement.
Definition at line 112 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Request.getUserVar(), Request.redirect(), setupTemplate(), Request.url(), and ManagerHandler.validate().
| AnnouncementHandler.updateAnnouncementType | ( | ) |
Save changes to an announcement type.
Definition at line 243 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Request.getUserVar(), Request.redirect(), setupTemplate(), Request.url(), and ManagerHandler.validate().
| AnnouncementHandler.view | ( | $ | args = array() |
) |
View announcement details.
| $args | array optional, first parameter is the ID of the announcement to display |
Definition at line 49 of file AnnouncementHandler.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), TemplateManager.getManager(), Request.redirect(), setupTemplate(), and Request.url().
1.5.6