symfony API

sfBrowser Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

database

debug

doctrine

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

sfdoctrinelogger

sfdoctrinepager

sfphinglistener

sfrequestcompat10

storage

task

test

user

util

validator

view

widget

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 ()

    Shutdown function to clean up and remove sessions

  • getResponse ()

    Gets response.

  • doCall ()

    Calls a request to a uri.

  • listenToException ($event)

    $event The event to handle

    Listener for exceptions

  • getContext ($forceReload = false)

    $forceReload true to force context reload, false otherwise

    Returns the current application context.

  • getUser ()

    Gets user.

  • getRequest ()

    Gets request.

  • addListener ($name, $listener)