symfony API

sfSessionStorage Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

Packages

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.

sfSessionStorage allows you to store persistent symfony data in the user session.

Method Summary

  • mixed &()
    Removes data from this storage.
  • boolean initialize(, )
    Initializes this Storage instance.
  • shutdown()
    Executes the shutdown procedure.
  • write(, )
    Writes data to this storage.

Methods inherited from sfStorage

& , getContext , getParameter , getParameterHolder , hasParameter , initialize , newInstance , setParameter , shutdown , write

Method Details

  • (mixed) & () Browse code

    Removes data from this storage.


    The preferred format for a key is directory style so naming conflicts can be avoided.

    returns Data associated with the key

  • (boolean) initialize (, ) Browse code

    Initializes this Storage instance.

    returns true, if initialization completes successfully, otherwise false

    throws sfInitializationException If an error occurs while initializing this Storage

  • shutdown () Browse code

    Executes the shutdown procedure.

  • write (, ) Browse code

    Writes data to this storage.


    The preferred format for a key is directory style so naming conflicts can be avoided.