Form for to read/create/edit announcements. More...
Public Member Functions | |
| _getAnnouncementTypesAssocId () | |
| _setAnnouncementAssocId (&$announcement) | |
| AnnouncementForm ($pressId, $announcementId=null, $readOnly=false) | |
| execute (&$request) | |
| fetch ($request) | |
| isReadOnly () | |
| readInputData () | |
| setDateExpire (&$announcement) | |
Form for to read/create/edit announcements.
Definition at line 17 of file AnnouncementForm.inc.php.
| AnnouncementForm._getAnnouncementTypesAssocId | ( | ) |
Definition at line 154 of file AnnouncementForm.inc.php.
Referenced by fetch().
| AnnouncementForm._setAnnouncementAssocId | ( | &$ | announcement | ) |
Helper function to assign the AssocType and the AssocId
| Announcement | the announcement to be modified |
Definition at line 163 of file AnnouncementForm.inc.php.
| AnnouncementForm.AnnouncementForm | ( | $ | pressId, | |
| $ | announcementId = null, |
|||
| $ | readOnly = false | |||
| ) |
Constructor
| $pressId | int | |
| $announcementId | int leave as default for new announcement | |
| $readOnly | boolean |
Definition at line 28 of file AnnouncementForm.inc.php.
| AnnouncementForm.execute | ( | &$ | request | ) |
Definition at line 99 of file AnnouncementForm.inc.php.
| AnnouncementForm.fetch | ( | $ | request | ) |
Definition at line 58 of file AnnouncementForm.inc.php.
References _getAnnouncementTypesAssocId(), and isReadOnly().
| AnnouncementForm.isReadOnly | ( | ) |
Return if this form is read only or not.
Definition at line 47 of file AnnouncementForm.inc.php.
Referenced by fetch().
| AnnouncementForm.readInputData | ( | ) |
Definition at line 91 of file AnnouncementForm.inc.php.
| AnnouncementForm.setDateExpire | ( | &$ | announcement | ) |
Definition at line 134 of file AnnouncementForm.inc.php.
1.7.1