symfony API

sfDebug Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

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.

sfDebug provides some method to help debugging a symfony application.

Method Summary

Method Details

  • (array) flattenParameterHolder ($parameterHolder) Browse code

    $parameterHolder A sfParameterHolder instance

    Returns a parameter holder as an array.

    returns The parameter holder as an array

  • (array) globalsAsArray () Browse code

    Returns PHP globals variables as a sorted array.

    returns PHP globals

  • (array) phpInfoAsArray () Browse code

    Returns PHP information as an array.

    returns An array of php information

  • (array) requestAsArray ($request) Browse code

    $request A sfRequest instance

    Returns request parameter holders as an array.

    returns The request parameter holders

  • (array) responseAsArray ($response) Browse code

    $response A sfResponse instance

    Returns response parameters as an array.

    returns The response parameters

  • (array) settingsAsArray () Browse code

    Returns sfConfig variables as a sorted array.

    returns sfConfig variables

  • (array) symfonyInfoAsArray () Browse code

    Returns symfony information as an array.

    returns An array of symfony information

  • (array) userAsArray ($user) Browse code

    $user A sfUser instance

    Returns user parameters as an array.

    returns The user parameters