[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/action/ -> actioninfo.class.php (sommaire)

(pas de description)

Poids: 57 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

ActionInfo:: (3 méthodes):
  ActionInfo()
  getActionParamName()
  getActionParamValue()


Classe: ActionInfo  - X-Ref

\ingroup Action

This class carries some information that classes extending the Action class might need, such as
with which parameter they were called or which was the name of the parameter
in the request.
ActionInfo( $actionParamName, $actionParamValue )   X-Ref
Constructor.

In the following request:
<i>controller.php/?action=ViewArticle&articleId=7</i>
the parameter name would be <i>'action'</i> and the action name would
be <i>'ViewArticle'</i>. The default name for the parameter name is
'action' but it can be changed when constructing the controller. The name
of the action is specified by using the action maps when creating the controller.

param: actionParamName The name of the parameter that was used to trigger
param: actionParamValue The value of the action parameter that triggered this

getActionParamName()   X-Ref
Returns the name of the parameter used to trigger this action.

return: The name of the parameter.

getActionParamValue()   X-Ref
Returns the vlaue of the parameter that triggered this action.

return: The value of the parameter.



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics