symfony API

sfBrowser Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.4 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 , doClickCssSelector , doClickElement , doSelect , fixUri , followRedirect , forward , get , getCurrentException , getRequest , getResponse , getResponseDom , getResponseDomCssSelector , getResponseDomXpath , getUser , initialize , newSession , parseArgumentAsArray , post , reload , removeCookie , resetCurrentException , restart , select , setAuth , setCookie , setCurrentException , setField , setHttpHeader , setVar , shutdown , __construct

Method Details

  • addListener ()

  • doCall ()

    Calls a request to a uri.

  • (sfContext) getContext ($forceReload)

    $forceReload true to force context reload, false otherwise

    Returns the current application context.

  • (sfWebRequest) getRequest ()

    Gets request.

  • (sfWebResponse) getResponse ()

    Gets response.

  • (sfUser) getUser ()

    Gets user.

  • (void) listenToException ($event)

    $event The event to handle

    Listener for exceptions

  • (void) shutdown ()

    Shutdown function to clean up and remove sessions