/models/group.php
PHP | 31 lines | 10 code | 0 blank | 21 comment | 0 complexity | b55afa890c34dc1bc7e0f05361a6e5fe MD5 | raw file
Possible License(s): GPL-2.0
- <?php
- /* SVN FILE: $Id: group.php 1 2009-04-16 13:02:44Z $ */
- /**
- * Short description for file.
- *
- * Long description for file
- *
- * PHP versions 5
- *
- * Licensed under The BSD License
- * Redistributions of files must retain the above copyright notice.
- *
- * @filesource
- * @copyright Copyright 2007-2009, Felix Ding (http://dingyu.me)
- * @link http://lonelythinker.org Project LonelyThinker
- * @package LonelyThinker
- * @author $LastChangedBy: $
- * @version $Revision: 1 $
- * @modifiedby $LastChangedBy: $
- * @lastmodified $Date: 2009-04-16 21:02:44 +0800 (四, 16 4 2009) $
- * @license http://www.opensource.org/licenses/bsd-license.php The BSD License
- */
- class Group extends AppModel
- {
- var $name = 'Group';
- var $hasMany = 'User';
- var $hasAndBelongsToMany = array('Permission' =>
- array('className' => 'Permission',
- 'joinTable' => 'groups_permissions'));
- }
- ?>