[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/web_app/src/filter/ -> lmbActionPerformingFilter.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  lmb_require('limb/filter_chain/src/lmbInterceptingFilter.interface.php');
  10  
  11  /**

  12   * class lmbActionPerformingFilter.

  13   *

  14   * @package web_app

  15   * @version $Id: lmbActionPerformingFilter.class.php 5945 2007-06-06 08:31:43Z pachanga $

  16   */
  17  class lmbActionPerformingFilter implements lmbInterceptingFilter
  18  {
  19    function run($filter_chain)
  20    {
  21      $dispatched = lmbToolkit :: instance()->getDispatchedController();
  22      if(!is_object($dispatched))
  23        throw new lmbException('Request is not dispatched yet! lmbDispatchedRequest not found in lmbToolkit!');
  24  
  25      $dispatched->performAction();
  26  
  27      $filter_chain->next();
  28    }
  29  }
  30  
  31  ?>


Generated: Mon Dec 1 03:56:46 2008 Cross-referenced by PHPXref 0.7