*
  • 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.1.1.1 2004-06-16 12:25:44 cvs Exp $ */ class ActionForward extends Object { /** * @var string */ var $_name; /** * @var string */ var $_path; /** * @var integer */ var $_redirect = 0; /** * Create an ActionForward with the specified values. * * @access public * @param string $name * @param array $forward */ function ActionForward($name, $forward) { $this->setName($name); $this->setPath($forward[_PATH]); $this->setRedirect($forward[_REDIRECT]); } /** * Get the name of the ActionForward. * * @access public * @return string */ function getName() { return $this->_name; } /** * Set the name of the ActionForward. * * @access public * @param string $name */ function setName($name) { $this->_name = $name; } /** * Get the path of the ActionForward. * * @access public * @return string */ function getPath() { return $this->_path; } /** * Set the path of the ActionForward. * * @access public * @param string $path */ function setPath($path) { $this->_path = $path; } /** * Get the redirect flag of the ActionForward. * * @access public * @return integer */ function getRedirect() { return $this->_redirect; } /** * Set the redirect flag of the ActionForward. * * @access public * @param integer $redirect */ function setRedirect($redirect) { $this->_redirect = $redirect; } } ?>