00001 <?php 00003 // {{{ license 00004 00005 // +----------------------------------------------------------------------+ 00006 // | FastFrame Application Framework | 00007 // +----------------------------------------------------------------------+ 00008 // | Copyright (c) 2002-2006 The Codejanitor Group | 00009 // +----------------------------------------------------------------------+ 00010 // | This source file is subject to the GNU Lesser Public License (LGPL), | 00011 // | that is bundled with this package in the file LICENSE, and is | 00012 // | available at through the world-wide-web at | 00013 // | http://www.fsf.org/copyleft/lesser.html | 00014 // | If you did not receive a copy of the LGPL and are unable to | 00015 // | obtain it through the world-wide-web, you can get it by writing the | 00016 // | Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, | 00017 // | MA 02111-1307, USA. | 00018 // +----------------------------------------------------------------------+ 00019 // | Authors: Jason Rust <jrust@codejanitor.com> | 00020 // +----------------------------------------------------------------------+ 00021 00022 // }}} 00023 // {{{ requires 00024 00025 require_once dirname(__FILE__) . '/NextAction.php'; 00026 00027 // }}} 00028 // {{{ class FF_Action 00029 00039 // }}} 00040 class FF_Action { 00041 // {{{ properties 00042 00047 var $o_registry; 00048 00053 var $o_output; 00054 00059 var $o_nextAction; 00060 00065 var $o_model; 00066 00071 var $o_perms; 00072 00077 var $currentActionId; 00078 00079 // }}} 00080 // {{{ constructor 00081 00090 function FF_Action(&$in_model) 00091 { 00092 $o_actionHandler =& FF_ActionHandler::singleton(); 00093 $this->o_output =& FF_Output::factory(); 00094 $this->currentActionId = $o_actionHandler->getActionId(); 00095 $this->o_nextAction =& new FF_NextAction(); 00096 $this->o_registry =& FF_Registry::singleton(); 00097 $this->o_perms =& FF_Perms::factory(); 00098 $this->o_model =& $in_model; 00099 } 00100 00101 // }}} 00102 // {{{ run() 00103 00110 function run() 00111 { 00112 return $this->o_nextAction; 00113 } 00114 00115 // }}} 00116 } 00117 ?>
1.4.4