symfony API

sfConsoleRequest Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.1 API OpenSearch


You are currently browsing the symfony API for the 1.1 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.

@package symfony


sfConsoleRequest  <  sfRequest

Method Summary

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

Methods inherited from sfRequest

extractParameters , getAttribute , getAttributeHolder , getError , getErrorNames , getErrors , getMethod , getParameter , getParameterHolder , hasAttribute , hasError , hasErrors , hasParameter , initialize , removeError , setAttribute , setError , setErrors , setMethod , setParameter , __call , __construct

Method Details

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

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

    Initializes this sfRequest.

    returns true, if initialization completes successfully, otherwise false

    throws sfInitializationException If an error occurs while initializing this sfRequest