Axiom (v1.2.0)

A lightweight PHP framework
H:/Workspace/php-axiom/www/php-axiom/libraries/axiom/axForwardException.class.php
Go to the documentation of this file.
00001 <?php
00018 class axForwardException extends LogicException {
00019     
00024     protected $_controller;
00025     
00030     protected $_action;
00031     
00037     public function __construct ($controller, $action = 'index') {
00038         parent::__construct("Forward action to $controller::$action");
00039         $this->_controller = $controller;
00040         $this->_action = $action;
00041     }
00042     
00047     public function getController () {
00048         return $this->_controller;
00049     }
00050     
00055     public function getAction () {
00056         return $this->_action;
00057     }
00058 }
 All Data Structures Files Functions Variables