Public Member Functions

SpotlightForm Class Reference

Form for reading/creating/editing spotlight items. More...

List of all members.

Public Member Functions

 _isValidSpotlightType ($type)
 execute (&$request)
 fetch ($request)
 getAssocTitle ($assocId, $assocType)
 getPressId ()
 getSpotlightId ()
 readInputData ()
 SpotlightForm ($pressId, $spotlightId=null)

Detailed Description

Form for reading/creating/editing spotlight items.

Definition at line 17 of file SpotlightForm.inc.php.


Member Function Documentation

SpotlightForm._isValidSpotlightType ( type  ) 

Internal function for spotlight type verification.

Parameters:
int $type
Returns:
boolean

Definition at line 169 of file SpotlightForm.inc.php.

SpotlightForm.execute ( &$  request  ) 
See also:
Form.execute()

Definition at line 82 of file SpotlightForm.inc.php.

References getPressId(), and getSpotlightId().

SpotlightForm.fetch ( request  ) 
See also:
Form.fetch()

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

Parameters:
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.

Returns:
int $pressId

Definition at line 130 of file SpotlightForm.inc.php.

Referenced by execute(), fetch(), and getAssocTitle().

SpotlightForm.getSpotlightId (  ) 

Fetch the spotlight Id for this form.

Returns:
int $spotlightId

Definition at line 122 of file SpotlightForm.inc.php.

Referenced by execute(), and fetch().

SpotlightForm.readInputData (  ) 
See also:
Form.readInputData()

Definition at line 75 of file SpotlightForm.inc.php.

SpotlightForm.SpotlightForm ( pressId,
spotlightId = null 
)

Constructor

Parameters:
$pressId int
$spotlightId int leave as default for new spotlight

Definition at line 33 of file SpotlightForm.inc.php.


The documentation for this class was generated from the following file: