sfDoctrineUserPlugin - 1.0.1

Provide a starting point for a full user information system.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Dependencies Releases Changelog Contribute
Show source

sfDoctrineUserPlugin

About

This plugin provides a starting point for anyone needing a quick full user in any application. It creates a user which has a sfGuardUser. This user then has the following properties.

  • sfGuardUser
    • Multiple Groups
    • Multiple permissions
    • username
    • password
  • sfUserUser
    • Multiple Email Addresses
    • Multiple Addresses
    • Multiple Phone Numbers
    • Multiple Instant Messaging Accounts
    • Multiple Billing Records

Gives an admin page to edit all properties of a user on one page in a clean fashion through the use of ajax and thickBox

Dependencies

sfDoctrineGuardPlugin

Installation

For all options, execute the commands shown from the root of your project.

Single Export

This means you'll get the files only and you'll not be able to update using subversion

svn export http://svn.symfony-project.com/plugins/sfDoctrineUserPlugin/branches/1.0 ./plugins/sfDoctrineUserPlugin

Single Checkout

svn checkout http://svn.symfony-project.com/plugins/sfDoctrineUserPlugin/branches/1.0 ./plugins/sfDoctrineUserPlugin

Automatic Checkout

If you are already using subversion for your project, and want to automatically include the latest version of this plugin on each svn update, the correct way to include the sfDoctrineUserPlugin repository is to define svn:externals. Go to your symfony project

svn propedit svn:externals plugins

in this file add a line containing

sfDoctrineUserPlugin http://svn.symfony-project.com/plugins/sfDoctrineUserPlugin/branches/1.0

Browse Source Code

sfDoctrineUserPlugin

To Use

Edit the applications myUser.class.php of any application you want to be able to access the extended users information

// Default line 3 in /apps/APPLICATION/data/lib/myUser.class.php
class myUser extends sfBasicSecurityUser
// New line 3 for user with sfDoctrineUserPlugin
class myUser extends sfUserSecurityUser