symfony API

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


You are currently browsing the symfony API for the 1.0 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.


  • sfAction: sfAction executes all the logic for the current request.
  • sfActions: sfActions executes all the logic for the current request.
  • sfActionStack: sfActionStack keeps a list of all requested actions and provides accessor
  • sfActionStackEntry: sfActionStackEntry represents information relating to a single sfAction request during a single HTTP request.
  • sfComponent: sfComponent.
  • sfComponents: sfComponents.



  • sfCache: sfCache is an abstract class for all cache classes in symfony.
  • sfFileCache: Cache class that stores content in files.
  • sfFunctionCache: This class can be used to cache the result and output of functions/methods.
  • sfProcessCache: sfProcessCache stores content in memory if you run a PHP accelerator.
  • sfSQLiteCache: Cache class that stores content in a sqlite database.



  • sfConsoleController: @package symfony
  • sfController: sfController directs application flow.
  • sfFrontWebController: sfFrontWebController allows you to centralize your entry point in your web
  • sfRouting: sfRouting class controls the creation of URLs and parses URLs. It maps an array of parameters to URLs definition.
  • sfWebController: sfWebController provides web specific methods to sfController such as, url redirection.


  • sfDatabase: sfDatabase is a base abstraction class that allows you to setup any type of
  • sfDatabaseManager: sfDatabaseManager allows you to setup your database connectivity before the
  • sfMySQLDatabase: sfMySQLDatabase provides connectivity for the MySQL brand database.
  • sfPDODatabase: sfPDODatabase provides connectivity for the PDO database abstraction layer.
  • sfPostgreSQLDatabase: sfPostgreSQLDatabase provides connectivity for the PostgreSQL brand database.
  • sfPropelDatabase: A symfony database driver for Propel, derived from the native Creole driver.
  • sfPropelDataRetriever: sfGenerator is the abstract base class for all generators.


  • sfDebug: sfDebug provides some method to help debugging a symfony application.
  • sfWebDebug: sfWebDebug creates debug information for easy debugging in the browser.



  • sfActionException: sfActionException is thrown when an error occurs in an action.
  • sfAutoloadException: sfAutoloadException is thrown when a class that has been required cannot be loaded.
  • sfCacheException: sfCacheException is thrown when ConfigCache fails to execute properly.
  • sfConfigurationException: sfConfigurationException is thrown when the framework finds an error in a
  • sfContextException: sfContextException is thrown when an instance of the context has not been created.
  • sfControllerException: sfControllerException is thrown when a requested Controller implementation
  • sfDatabaseException: sfDatabaseException is thrown when a database related error occurs.
  • sfError404Exception: sfError404Exception is thrown when a 404 error occurs in an action.
  • sfException: sfException is the base class for all symfony related exceptions and
  • sfFactoryException: sfFactoryException is thrown when an error occurs while attempting to create
  • sfFileException: sfFileException is thrown when an error occurs while moving an uploaded file.
  • sfFilterException: sfFilterException is thrown when an error occurs while attempting to initialize
  • sfForwardException: sfForwardException is thrown when an error occurs while attempting to forward
  • sfInitializationException: sfInitializationException is thrown when an initialization procedure fails.
  • sfParseException: sfParseException is thrown when a parsing procedure fails to complete
  • sfRenderException: sfRenderException is thrown when a view's pre-render check fails.
  • sfSecurityException: sfSecurityException is thrown when a security related error occurs.
  • sfStopException: sfStopException is thrown when you want to stop action flow.
  • sfStorageException: sfStorageException is thrown when a requested sfStorage implementation doesn't
  • sfValidatorException: sfValidatorException is thrown when an error occurs in a validator.
  • sfViewException: sfViewException is thrown when an error occurs in a view.


  • sfBasicSecurityFilter: sfBasicSecurityFilter checks security by calling the getCredential() method
  • sfCacheFilter: sfCacheFilter deals with page caching and action caching.
  • sfCommonFilter: sfCommonFilter automatically adds javascripts and stylesheets information in the sfResponse content.
  • sfExecutionFilter: sfExecutionFilter is the last filter registered for each filter chain. This
  • sfFillInFormFilter: sfFillInFormFilter fills in forms.
  • sfFilter: sfFilter provides a way for you to intercept incoming requests or outgoing responses.
  • sfFilterChain: sfFilterChain manages registered filters for a specific context.
  • sfFlashFilter: sfFlashFilter removes flash attributes from the session.
  • sfRenderingFilter: sfRenderingFilter is the last filter registered for each filter chain. This
  • sfSecurityFilter: sfSecurityFilter provides a base class that classifies a filter as one that handles security.
  • sfWebDebugFilter: @package symfony







  • sfConsoleResponse: sfConsoleResponse provides methods for manipulating client response in cli environment.
  • sfResponse: sfResponse provides methods for manipulating client response information such
  • sfWebResponse: sfWebResponse class.


  • sfMySQLSessionStorage: Provides support for session storage using a MySQL brand database.
  • sfPDOSessionStorage: Provides support for session storage using a PDO database abstraction layer.
  • sfPostgreSQLSessionStorage: Provides support for session storage using a PostgreSQL brand database.
  • sfSessionStorage: sfSessionStorage allows you to store persistent symfony data in the user session.
  • sfSessionTestStorage: sfSessionTestStorage is a fake sfSessionStorage implementation to allow easy testing.
  • sfStorage: sfStorage allows you to customize the way symfony stores its persistent data.


  • sfBasicSecurityUser: sfBasicSecurityUser will handle any type of data as a credential.
  • sfSecurityUser: sfSecurityUser interface provides advanced security manipulation methods.
  • sfUser: sfUser wraps a client session and provides accessor methods for user


  • sfBrowser: sfBrowser simulates a fake browser which can surf a symfony application.
  • sfContext: sfContext provides information about the current application context, such as
  • sfCore: core symfony class.
  • sfDomCssSelector: sfDomCssSelector allows to navigate a DOM with CSS selector.
  • sfFillInForm: @package symfony
  • sfFinder: Allow to build rules to find files and directories.
  • sfGlobToRegex: Match globbing patterns against text.
  • sfInflector: @package symfony
  • sfLoader: sfLoader is a class which contains the logic to look for files/classes in symfony.
  • sfMixer: sfMixer implements mixins and hooks.
  • sfNumberCompare: Numeric comparisons.
  • sfParameterHolder: sfParameterHolder provides a base class for managing parameters.
  • sfPropelManyToMany: @package symfony
  • sfTimer: sfTimer class allows to time some PHP code.
  • sfTimerManager: sfTimerManager is a container for sfTimer objects.
  • sfToolkit: sfToolkit provides basic utility methods.
  • sfYaml: sfYaml class.


  • sfCallbackValidator: sfCallbackValidator allows you to use a custom callback function or method to
  • sfCompareValidator: sfCompareValidator checks the equality of two different request parameters.
  • sfDateValidator: sfDateValidator verifies a parameter is of a date format.
  • sfEmailValidator: sfEmailValidator verifies a parameter contains a value that qualifies as an
  • sfFileValidator: sfFileValidator allows you to apply constraints to file upload.
  • sfHtmlValidator: @package symfony
  • sfNumberValidator: sfNumberValidator verifies a parameter is a number and allows you to apply
  • sfPropelUniqueValidator: sfPropelUniqueValidator validates that the uniqueness of a column.
  • sfRegexValidator: sfRegexValidator allows you to match a value against a regular expression
  • sfStringValidator: sfStringValidator allows you to apply string-related constraints to a
  • sfUrlValidator: sfUrlValidator verifies a parameter contains a value that qualifies as a valid URL.
  • sfValidator: sfValidator allows you to apply constraints to user entered parameters.
  • sfValidatorManager: sfValidatorManager provides management for request parameters and their