Form for reading/creating/editing spotlight items. More...
Public Member Functions | |
| _isValidSpotlightType ($type) | |
| execute (&$request) | |
| fetch ($request) | |
| getAssocTitle ($assocId, $assocType) | |
| getPressId () | |
| getSpotlightId () | |
| readInputData () | |
| SpotlightForm ($pressId, $spotlightId=null) | |
Form for reading/creating/editing spotlight items.
Definition at line 17 of file SpotlightForm.inc.php.
| SpotlightForm._isValidSpotlightType | ( | $ | type | ) |
Internal function for spotlight type verification.
| int | $type |
Definition at line 169 of file SpotlightForm.inc.php.
| SpotlightForm.execute | ( | &$ | request | ) |
Definition at line 82 of file SpotlightForm.inc.php.
References getPressId(), and getSpotlightId().
| SpotlightForm.fetch | ( | $ | request | ) |
Definition at line 51 of file SpotlightForm.inc.php.
References getAssocTitle(), getPressId(), and getSpotlightId().
| SpotlightForm.getAssocTitle | ( | $ | assocId, | |
| $ | assocType | |||
| ) |
Fetch the title of the Spotlight item, based on the assocType and pressId
| int | $assocId | |
| int | $assocType |
Definition at line 139 of file SpotlightForm.inc.php.
References getPressId().
Referenced by fetch().
| SpotlightForm.getPressId | ( | ) |
Fetch the press Id for this form.
Definition at line 130 of file SpotlightForm.inc.php.
Referenced by execute(), fetch(), and getAssocTitle().
| SpotlightForm.getSpotlightId | ( | ) |
Fetch the spotlight Id for this form.
Definition at line 122 of file SpotlightForm.inc.php.
| SpotlightForm.readInputData | ( | ) |
Definition at line 75 of file SpotlightForm.inc.php.
| SpotlightForm.SpotlightForm | ( | $ | pressId, | |
| $ | spotlightId = null | |||
| ) |
Constructor
| $pressId | int | |
| $spotlightId | int leave as default for new spotlight |
Definition at line 33 of file SpotlightForm.inc.php.
1.7.1