symfony API

Packages

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

action

  • 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 methods for retrieving individual entries.
  • sfActionStackEntry: sfActionStackEntry represents information relating to a single sfAction request during a single HTTP request.
  • sfComponent: sfComponent.
  • sfComponents: sfComponents.

addon

  • sfData: This class defines the interface for interacting with data, as well as default implementations.
  • sfEzComponentsBridge: This class makes easy to use ez components classes within symfony
  • sfMail: sfMail class.
  • sfPager: sfPager class.
  • sfZendFrameworkBridge: This class makes easy to use Zend Framework classes within symfony.

autoload

cache

  • sfAPCCache: Cache class that stores cached content in APC.
  • sfCache: sfCache is an abstract class for all cache classes in symfony.
  • sfEAcceleratorCache: Cache class that stores cached content in EAccelerator.
  • sfFileCache: Cache class that stores content in files.
  • sfFunctionCache: This class can be used to cache the result and output of any PHP callable (function and method calls).
  • sfMemcacheCache: Cache class that stores cached content in memcache.
  • sfNoCache: Cache class that does nothing.
  • sfProcessCache: sfProcessCache stores content in memory if you run a PHP accelerator.
  • sfSQLiteCache: Cache class that stores cached content in a SQLite database.
  • sfXCacheCache: Cache class that stores cached content in XCache.

command

config

controller

  • sfConsoleController:
  • sfController: sfController directs application flow.
  • sfFrontWebController: sfFrontWebController allows you to centralize your entry point in your web application, but at the same time allow for any module and action combination to be requested.
  • sfWebController: sfWebController provides web specific methods to sfController such as, url redirection.

creole

database

  • sfCreoleDatabase: sfCreoleDatabase provides connectivity for the Creole database abstraction layer.
  • sfDatabase: sfDatabase is a base abstraction class that allows you to setup any type of database connection via a configuration file.
  • sfDatabaseManager: sfDatabaseManager allows you to setup your database connectivity before the request is handled. This eliminates the need for a filter to manage database connections.
  • sfMySQLDatabase: sfMySQLDatabase provides connectivity for the MySQL brand database.
  • sfMySQLiDatabase: sfMySQLiDatabase 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.

debug

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

exception

  • sfError404Exception: sfError404Exception is thrown when a 404 error occurs in an action.
  • sfException: sfException is the base class for all symfony related exceptions and provides an additional method for printing up a detailed view of an exception.
  • sfStopException: sfStopException is thrown when you want to stop action flow.

filter

  • sfBasicSecurityFilter: sfBasicSecurityFilter checks security by calling the getCredential() method of the action. Once the credential has been acquired, sfBasicSecurityFilter verifies the user has the same credential by calling the hasCredential() method of SecurityUser.
  • sfCacheFilter: sfCacheFilter deals with page caching and action caching.
  • sfCommonFilter: sfCommonFilter automatically adds javascripts and stylesheets information in the sfResponse content.
  • sfExecutionFilter: sfValidationExecutionFilter is the last filter registered for each filter chain. This filter does all action and view execution.
  • 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.
  • sfRenderingFilter: sfRenderingFilter is the last filter registered for each filter chain. This filter does the rendering.
  • sfValidationExecutionFilter: sfExecutionFilter is the last filter registered for each filter chain. This filter does all action and view execution.

form

  • sfForm: sfForm represents a form.
  • sfFormField: sfFormField represents a widget bind to a name and a value.
  • sfFormFieldSchema: sfFormFieldSchema represents an array of widgets bind to names and values.
  • sfFormPropel: sfFormPropel is the base class for forms based on Propel objects.

generator

helper

i18n

log

plugin

propel

request

  • sfConsoleRequest:
  • sfRequest: sfRequest provides methods for manipulating client request information such as attributes, and parameters. It is also possible to manipulate the request method originally sent by the user.
  • sfWebRequest: sfWebRequest class.

response

  • sfResponse: sfResponse provides methods for manipulating client response information such as headers, cookies and content.
  • sfWebResponse: sfWebResponse class.

routing

  • sfNoRouting: sfNoRouting class is a very simple routing class that uses GET parameters.
  • sfPathInfoRouting: sfPathInfoRouting class is a very simple routing class that uses PATH_INFO.
  • sfPatternRouting: sfPatternRouting class controls the generation and parsing of URLs.
  • sfRouting: sfRouting class controls the generation and parsing of URLs.

storage

  • sfCreoleSessionStorage: Provides support for session storage using a CreoleDb database abstraction layer.
  • sfDatabaseSessionStorage: Base class for all sfStorage that uses a sfDatabase object as a storage.
  • sfMySQLiSessionStorage: Provides support for session storage using a MySQL brand database using the MySQL improved API.
  • sfMySQLSessionStorage: Provides support for session storage using a MySQL brand database.
  • sfNoStorage: sfNoStorage allows you to disable session support.
  • 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.

task

test

  • sfTestBrowser: sfTestBrowser simulates a fake browser which can test a symfony application.

user

  • 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 attributes. It also makes storing and retrieving multiple page form data rather easy by allowing user attributes to be stored in namespaces, which help organize data.

util

  • sfBrowser: sfBrowser simulates a fake browser which can surf a symfony application.
  • sfCallable: sfCallable represents a PHP callable.
  • sfContext: sfContext provides information about the current application context, such as the module and action names and the module directory. References to the main symfony instances are also provided.
  • sfDomCssSelector: sfDomCssSelector allows to navigate a DOM with CSS selector.
  • sfEvent: sfEvent.
  • sfEventDispatcher: sfEventDispatcher implements a dispatcher object.
  • sfFakeRenderingFilter: sfFilter provides a way for you to intercept incoming requests or outgoing responses.
  • sfFilesystem: sfFilesystem provides basic utility to manipulate the file system.
  • sfFillInForm: WARNING: This class is deprecated and will be removed in symfony 1.2.
  • sfFinder: Allow to build rules to find files and directories.
  • sfGlobToRegex: Match globbing patterns against text.
  • sfInflector:
  • sfLoader: sfLoader is a class which contains the logic to look for files/classes in symfony.
  • sfMixer: sfMixer implements mixins and hooks.
  • sfNamespacedParameterHolder: sfNamespacedParameterHolder provides a class for managing parameters with support for namespaces.
  • sfNumberCompare: Numeric comparisons.
  • sfParameterHolder: sfParameterHolder provides a base class for managing parameters.
  • 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.
  • sfYamlDumper: sfYamlDumper class.
  • sfYamlInline: sfYamlInline implements a YAML parser/dumper for the YAML inline syntax.
  • sfYamlParser: sfYamlParser class.

validator

view

widget