first commit
This commit is contained in:
27
plugins/sfGuardPlugin/lib/model/sfGuardPermissionPeer.php
Normal file
27
plugins/sfGuardPlugin/lib/model/sfGuardPermissionPeer.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the symfony package.
|
||||
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package symfony
|
||||
* @subpackage plugin
|
||||
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
* @version SVN: $Id: sfGuardPermissionPeer.php 4 2008-09-24 08:40:58Z marek $
|
||||
*/
|
||||
class sfGuardPermissionPeer extends BasesfGuardPermissionPeer
|
||||
{
|
||||
public static function retrieveByName($name)
|
||||
{
|
||||
$c = new Criteria();
|
||||
$c->add(self::NAME, $name);
|
||||
|
||||
return self::doSelectOne($c);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user