ZNF
Action
[
class tree: ZNF
] [
index: ZNF
] [
all elements
]
ZNF
Packages:
ZNF
Source for file ActionForward.php
Documentation is available at
ActionForward.php
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* PHP version 5
*
* This source file is subject to version 2.1 of the GNU Lesser General Public
* License, that is bundled with this package in the file COPYING, available
* through the world wide web at the following URI:
* http://www.gnu.org/copyleft/lesser.html.
*
*
@package
ZNF
*
@subpackage
Action
*
@author
Alessandro Rossini <http://www.alessandrorossini.org>
*
@author
Graziano Liberati <http://www.liberati.org>
*
@copyright
2004-2007 The ZNF Development Team
*
@license
LGPL License 2.1 <http://www.gnu.org/copyleft/lesser.html>
*
@version
SVN $Id: ActionForward.php 43 2007-06-26 23:36:35Z aronnax $
*
@since
Release 0.5.0
*
@link
http://www.zeronotice.org
*/
/**
* <i>ZNF_Action_ActionForward</i> represents the destination to which the controller <i>ZNF_Action_RequestProcessor</i> might be directed.
*
* The redirect is a result of processing activities of a
* <i>ZNF_Action_Action</i> class.
*
*
@access
public
*
@package
ZNF
*
@subpackage
Action
*
@author
Alessandro Rossini <http://www.alessandrorossini.org>
*
@author
Graziano Liberati <http://www.liberati.org>
*
@copyright
2004-2007 The ZNF Development Team
*
@license
LGPL License 2.1 <http://www.gnu.org/copyleft/lesser.html>
*
@version
SVN $Id: ActionForward.php 43 2007-06-26 23:36:35Z aronnax $
*
@since
Release 0.5.0
*
@link
http://www.zeronotice.org
*/
class
ZNF_Action_ActionForward
{
/**
* The <i>name</i> attribute of the <i>forward</i> element.
*
*
@access
protected
*
@var
string
$_name
*/
protected
$_name
=
null
;
/**
* The <i>path</i> attribute of the <i>forward</i> element.
*
*
@access
protected
*
@var
string
$_path
*/
protected
$_path
=
null
;
/**
* The <i>redirect</i> attribute of the <i>forward</i> element.
*
*
@access
protected
*
@var
boolean
$_redirect
*/
protected
$_redirect
=
false
;
/**
* Construct a new <i>ZNF_Action_ActionForward</i> object.
*
*
@access
public
*
@param
array
$forward
*/
public
function
__construct
(
$forward
)
{
$this
->
setName
(
$forward
[
'name'
]
)
;
$this
->
setPath
(
$forward
[
'path'
]
)
;
$this
->
setRedirect
(
$forward
[
'redirect'
]
)
;
}
/**
* Returns the value of the <i>name</i> property.
*
*
@access
public
*
@return
string
*/
public
function
getName
(
)
{
return
$this
->
_name
;
}
/**
* Sets the value of the <i>name</i> property.
*
*
@access
public
*
@param
string
$value
*/
public
function
setName
(
$value
)
{
$this
->
_name
=
$value
;
}
/**
* Returns the value of the <i>path</i> property.
*
*
@access
public
*
@return
string
*/
public
function
getPath
(
)
{
return
$this
->
_path
;
}
/**
* Sets the value of the <i>path</i> property.
*
*
@access
public
*
@param
string
$value
*/
public
function
setPath
(
$value
)
{
$this
->
_path
=
$value
;
}
/**
* Returns the value of the <i>redirect</i> property.
*
*
@access
public
*
@return
boolean
*/
public
function
getRedirect
(
)
{
return
$this
->
_redirect
;
}
/**
* Sets the value of the <i>redirect</i> property.
*
*
@access
public
*
@param
boolean
$value
*/
public
function
setRedirect
(
$value
)
{
$this
->
_redirect
=
$value
;
}
/**
* Destroys the <i>ZNF_Action_ActionForward</i> object.
*
*
@access
public
*/
public
function
__destruct
(
)
{
}
}
/**
* <i>ZNF_Action_ActionForwardException</i> is the exception type for the <i>ZNF_Action_ActionForward</i> class.
*
* <i>ZNF_Action_ActionForwardException</i> extends the <i>Exception</i> class of PHP5.
*
*
@access
public
*
@package
ZNF
*
@subpackage
Action
*
@author
Alessandro Rossini <http://www.alessandrorossini.org>
*
@author
Graziano Liberati <http://www.liberati.org>
*
@copyright
2004-2007 The ZNF Development Team
*
@license
LGPL License 2.1 <http://www.gnu.org/copyleft/lesser.html>
*
@version
SVN $Id: ActionForward.php 43 2007-06-26 23:36:35Z aronnax $
*
@since
Release 0.5.0
*
@link
http://www.zeronotice.org
*/
class
ZNF_Action_ActionForwardException
extends
Exception
{
}
?>
Documentation generated on Wed, 14 Nov 2007 23:47:33 +0100 by
phpDocumentor 1.4.0