[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/request/ -> sfConsoleRequest.class.php (source)

   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   * (c) 2004-2006 Sean Kerr.
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  /**
  13   *
  14   * @package    symfony
  15   * @subpackage request
  16   * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
  17   * @author     Sean Kerr <skerr@mojavi.org>
  18   * @version    SVN: $Id: sfConsoleRequest.class.php 3250 2007-01-12 20:09:11Z fabien $
  19   */
  20  class sfConsoleRequest extends sfRequest
  21  {
  22    /**
  23     * Initializes this sfRequest.
  24     *
  25     * @param sfContext A sfContext instance
  26     * @param array   An associative array of initialization parameters
  27     *
  28     * @return boolean true, if initialization completes successfully, otherwise false
  29     *
  30     * @throws <b>sfInitializationException</b> If an error occurs while initializing this Request
  31     */
  32    public function initialize($context, $parameters = null)
  33    {
  34      parent::initialize ($context, $parameters);
  35  
  36      $this->getParameterHolder()->add($_SERVER['argv']);
  37    }
  38  
  39    /**
  40     * Executes the shutdown procedure.
  41     *
  42     */
  43    public function shutdown()
  44    {
  45    }
  46  }


Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7