[ Index ] |
|
Code source de Symfony 1.0.0 |
1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * sfStopException is thrown when you want to stop action flow. 13 * 14 * @package symfony 15 * @subpackage exception 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfStopException.class.php 3243 2007-01-12 14:22:50Z fabien $ 18 */ 19 class sfStopException extends sfException 20 { 21 /** 22 * Class constructor. 23 * 24 * @param string The error message 25 * @param int The error code 26 */ 27 public function __construct($message = null, $code = 0) 28 { 29 $this->setName('sfStopException'); 30 31 // disable xdebug to avoid backtrace in error log 32 if (function_exists('xdebug_disable')) 33 { 34 xdebug_disable(); 35 } 36 37 parent::__construct($message, $code); 38 } 39 40 /** 41 * Stops the current action. 42 */ 43 public function printStackTrace($exception = null) 44 { 45 } 46 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |