Class ActionForward

Description

The ActionForward class represents a destination to which the

ActionController might be directed to forward or redirect to, as a result of the processing activities of an Action class. Instances of this class may be created dynamically as necessary, or configured in association with an ActionMapping instance for named lookup of potentially multiple destinations for a particular ActionMapping instance.

An ActionForward has the following minimal set of properties. Additional properties can be provided as needed by subclasses.

  • name - Logical name by which this instance may be looked up in relationship to a particular ActionMapping.
  • path - The absolute or relative URI to which control should be forwarded or redirected.
  • redirect - Set to 1 if the ActionController should kill the session and redirect on the URI. [0]

  • author: Arnold Cano
  • version: $Id: ActionForward.php,v 1.3.16.1 2011/10/04 11:19:40 afelixf Exp $

Located in /phrame/ActionForward.php (line 24)

Object
   |
   --ActionForward
Variable Summary
string $_name
string $_path
integer $_redirect
array $_saco
Method Summary
ActionForward ActionForward (string $name, [array $forward = null])
void get (string $clave)
string getName ()
string getPath ()
integer getRedirect ()
void put (string $clave, string $valor)
void setName (string $name)
void setPath (string $path)
void setRedirect (integer $redirect)
Variables
string $_name (line 29)
string $_path (line 33)
integer $_redirect = 0 (line 37)
array $_saco = null (line 42)
Methods
Constructor ActionForward (line 51)

Create an ActionForward with the specified values.

  • access: public
ActionForward ActionForward (string $name, [array $forward = null])
  • string $name
  • array $forward
get (line 142)

Obtiene un valor en la coleccion

  • access: public
void get (string $clave)
  • string $clave: Clave de la coleccion
getName (line 69)

Get the name of the ActionForward.

  • access: public
string getName ()
getPath (line 89)

Get the path of the ActionForward.

  • access: public
string getPath ()
getRedirect (line 109)

Get the redirect flag of the ActionForward.

  • access: public
integer getRedirect ()
put (line 131)

Fija un valor en la coleccion

  • access: public
void put (string $clave, string $valor)
  • string $clave: Clave del objeto en la colección
  • string $valor: Valor del objeto de la colección
setName (line 79)

Set the name of the ActionForward.

  • access: public
void setName (string $name)
  • string $name
setPath (line 99)

Set the path of the ActionForward.

  • access: public
void setPath (string $path)
  • string $path
setRedirect (line 119)

Set the redirect flag of the ActionForward.

  • access: public
void setRedirect (integer $redirect)
  • integer $redirect

Inherited Methods

Inherited From Object

Object::equals()
Object::toString()

Documentation generated on Wed, 05 Oct 2011 10:36:21 +0200 by phpDocumentor 1.4.1