Axiom (v1.2.0)

A lightweight PHP framework
axForwardException Class Reference

Foward Exception. More...

Public Member Functions

 __construct ($controller, $action= 'index')
 Constructor.
 getController ()
 Get the destination controller.
 getAction ()
 Get the destination action.

Protected Attributes

 $_controller
 Controller to forward to.
 $_action
 Action to forward to.

Detailed Description

Foward Exception.

Exception thrown to reroute flow in controllers.

Author:
Delespierre
License:
http://www.gnu.org/licenses/lgpl.html Lesser General Public Licence version 3

Definition at line 18 of file axForwardException.class.php.


Constructor & Destructor Documentation

axForwardException::__construct ( controller,
action = 'index' 
)

Constructor.

Parameters:
string$controllerThe controller to forward flow to
string$actionThe action to forward flow to

Definition at line 37 of file axForwardException.class.php.


Member Function Documentation

Get the destination action.

Returns:
string

Definition at line 55 of file axForwardException.class.php.

Get the destination controller.

Returns:
string

Definition at line 47 of file axForwardException.class.php.


Field Documentation

string axForwardException::$_action [protected]

Action to forward to.

Definition at line 30 of file axForwardException.class.php.

string axForwardException::$_controller [protected]

Controller to forward to.

Definition at line 24 of file axForwardException.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables