symfony API

sfBrowser Class

« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:

sfBrowser simulates a browser which can surf a symfony application.

Inheritence

sfBrowser  <  sfBrowserBase

Method Summary

Methods inherited from sfBrowserBase

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

Method Details

  • shutdown () Browse code

    Shutdown function to clean up and remove sessions

  • getResponse () Browse code

    Gets response.

  • doCall () Browse code

    Calls a request to a uri.

  • listenToException ($event) Browse code

    $event The event to handle

    Listener for exceptions

  • getContext ($forceReload = false) Browse code

    $forceReload true to force context reload, false otherwise

    Returns the current application context.

  • getUser () Browse code

    Gets user.

  • getRequest () Browse code

    Gets request.

  • addListener ($name, $listener) Browse code

    $name
    $listener

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.