Development

/plugins/sfGuardDoctrinePlugin/trunk/lib/model/doctrine/PluginsfGuardUserTable.class.php

You must first sign up to be able to contribute.

root/plugins/sfGuardDoctrinePlugin/trunk/lib/model/doctrine/PluginsfGuardUserTable.class.php

Revision 8727, 418 bytes (checked in by Jonathan.Wage, 5 years ago)

Reverting to fresh port from sfGuardPlugin

Line 
1 <?php
2 /**
3  * This class has been auto-generated by the Doctrine ORM Framework
4  */
5 class PluginsfGuardUserTable extends Doctrine_Table
6 {
7   public static function retrieveByUsername($username, $isActive = true)
8   {
9     return Doctrine_Query::create()
10             ->from('sfGuardUser u')
11             ->where('u.username = ?', $username)
12             ->addWhere('u.is_Active = ?', $isActive)
13             ->fetchOne();
14   }
15 }
Note: See TracBrowser for help on using the browser.