symfony API

sfUser Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

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.

sfUser wraps a client session and provides accessor methods for user

Inheritence

sfBasicSecurityUser  <  sfUser

Method Summary

Method Details

  • getAttribute ()

  • getAttributeHolder ()

  • (Context) getContext ()

    Retrieve the current application context.

    returns A Context instance.

  • (string) getCulture ()

    Gets culture.

  • getParameter ()

  • getParameterHolder ()

  • hasAttribute ()

  • hasParameter ()

  • (bool) initialize (, )

    Initialize this User.

    returns true, if initialization completes successfully, otherwise false.

    throws sfInitializationException If an error occurs while initializing this User.

  • (User) newInstance ()

    Retrieve a new sfUser implementation instance.

    returns A sfUser implementation instance.

    throws sfFactoryException If a user implementation instance cannot

  • setAttribute ()

  • setCulture ()

    Sets culture.

  • setParameter ()

  • (void) shutdown ()

    Execute the shutdown procedure.

  • __call ()