Class ActionMapping

Description

The ActionMapping class represents the information that the ActionController knows about the ActionMapping of a particular request to an instance of a particular Action class. The ActionMapping is passed to the perform() method of the Action class itself, enabling access to this information directly.

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

  • type - Class name of the Action class used by this ActionMapping.
  • name - Name of the ActionForm class, if any, associated with this Action.
  • input - Path of the input form to which control should be returned if a validation error is encountered.
  • validate - Set to 1 if the validate() method of the ActionForm class (if any) associated with this ActionMapping should be called. [0]

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

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

Object
   |
   --HashMap
      |
      --ActionMapping
Variable Summary
string $_input
string $_name
string $_type
Method Summary
ActionMapping ActionMapping (string $name, array $mapping)
void get ( $key)
string getInput ()
string getName ()
string getType ()
void setInput (string $input)
void setName (string $name)
void setType (string $type)
Variables
string $_input (line 37)
string $_name (line 33)
string $_type (line 29)

Inherited Variables

Inherited from HashMap

HashMap::$_values
Methods
Constructor ActionMapping (line 46)

Create a ActionMapping with the specified values.

  • access: public
ActionMapping ActionMapping (string $name, array $mapping)
  • string $name
  • array $mapping
get (line 131)
void get ( $key)
  • $key

Redefinition of:
HashMap::get()
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key.
getInput (line 115)

Get the input URI of the ActionForward.

  • access: public
string getInput ()
getName (line 95)

Get the name of the ActionForward.

  • access: public
string getName ()
getType (line 75)

Get the type of the ActionForward.

  • access: public
string getType ()
setInput (line 125)

Set the input URI of the ActionForward.

  • access: public
void setInput (string $input)
  • string $input
setName (line 105)

Set the name of the ActionForward.

  • access: public
void setName (string $name)
  • string $name
setType (line 85)

Set the type of the ActionForward.

  • access: public
void setType (string $type)
  • string $type

Inherited Methods

Inherited From HashMap

HashMap::HashMap()
HashMap::clear()
HashMap::containsKey()
HashMap::containsValue()
HashMap::get()
HashMap::isEmpty()
HashMap::keySet()
HashMap::put()
HashMap::putAll()
HashMap::remove()
HashMap::size()
HashMap::values()

Inherited From Object

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

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