[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 151 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 2 fois |
Nécessite: | 0 fichiers |
SequentialController:: (4 méthodes):
SequentialController()
getNextStep()
getCurrentStep()
process()
Classe: SequentialController - X-Ref
\ingroup ControllerSequentialController( $steps ) X-Ref |
Constructor of the class. param: steps An array containing the name of the action classes that are going to be return: Nothing |
getNextStep( $currentStep ) X-Ref |
Returns the next step in the sequence based on the current step param: currentStep The current step in the sequence return: |
getCurrentStep() X-Ref |
Returns the current step, based on the contents from the session. If there is no information in the session, processing will start at the action class whose index in the sequence array is '0' return: The current step in the sequence |
process( $httpRequest ) X-Ref |
Main method of the controller, as it processes the current HTTP request. Since this is a sequential controller, it does not take into account any of the parameters in the request (as opposed to a normal Controller class, which would for example check the "op" parameter) but it instead relies on its internal counter and the outcome of the last action to find out which action to execute next. param: httpRequest The current HTTP Request return: Always true |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |