symfony API

sfBrowser Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

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.

sfBrowser simulates a browser which can surf a symfony application.

Inheritence

sfBrowser  <  sfBrowserBase

Method Summary

Methods inherited from sfBrowserBase

back , call , checkCurrentExceptionIsEmpty , clearCookies , click , deselect , doCall , doClick , doSelect , fixUri , followRedirect , forward , get , getCurrentException , getRequest , getResponse , getResponseDom , getResponseDomCssSelector , getUser , initialize , newSession , parseArgumentAsArray , post , reload , removeCookie , resetCurrentException , restart , select , setAuth , setCookie , setCurrentException , setField , setHttpHeader , setVar , shutdown , __construct

Method Details

  • addListener ($name, $listener) Browse code

    $name
    $listener

  • doCall () Browse code

    Calls a request to a uri.

  • getContext ($forceReload = false) Browse code

    $forceReload true to force context reload, false otherwise

    Returns the current application context.

  • getRequest () Browse code

    Gets request.

  • getResponse () Browse code

    Gets response.

  • getUser () Browse code

    Gets user.

  • listenToException ($event) Browse code

    $event The event to handle

    Listener for exceptions

  • shutdown () Browse code

    Shutdown function to clean up and remove sessions