symfony API

sfUser 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.

sfUser wraps a client session and provides accessor methods for user

Inheritence

sfBasicSecurityUser  <  sfUser

Method Summary

Method Details

  • getAttribute () Browse code

  • getAttributeHolder () Browse code

  • (Context) getContext () Browse code

    Retrieve the current application context.

    returns A Context instance.

  • (string) getCulture () Browse code

    Gets culture.

  • getParameter () Browse code

  • getParameterHolder () Browse code

  • hasAttribute () Browse code

  • hasParameter () Browse code

  • (bool) initialize (, ) Browse code

    Initialize this User.

    returns true, if initialization completes successfully, otherwise false.

    throws sfInitializationException If an error occurs while initializing this User.

  • (User) newInstance () Browse code

    Retrieve a new sfUser implementation instance.

    returns A sfUser implementation instance.

    throws sfFactoryException If a user implementation instance cannot

  • setAttribute () Browse code

  • setCulture () Browse code

    Sets culture.

  • setParameter () Browse code

  • (void) shutdown () Browse code

    Execute the shutdown procedure.

  • __call () Browse code