symfony API

sfConsoleRequest Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.2 API OpenSearch


You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.


sfConsoleRequest  <  sfRequest

Method Summary

  • bool initialize($dispatcher, $parameters = array(), $attributes = array(), $options = array())
    Initializes this sfRequest.

Methods inherited from sfRequest

extractParameters , getAttribute , getAttributeHolder , getMethod , getParameter , getParameterHolder , hasAttribute , hasParameter , initialize , setAttribute , setMethod , setParameter , __call , __clone , __construct

Method Details

  • (bool) initialize ($dispatcher, $parameters = array(), $attributes = array(), $options = array()) Browse code

    $dispatcher An sfEventDispatcher instance
    $parameters An associative array of initialization parameters
    $attributes An associative array of initialization attributes
    $options An associative array of options

    Initializes this sfRequest.

    returns true, if initialization completes successfully, otherwise false

    throws sfInitializationException If an error occurs while initializing this sfRequest