2010-12-22 04:31:03 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
2013-02-08 11:59:49 +00:00
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2010-12-22 04:31:03 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
2013-02-08 12:22:51 +00:00
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
2010-12-22 04:31:03 +00:00
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2013-02-08 11:59:49 +00:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2010-12-22 04:31:03 +00:00
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package Cake.Model
|
2010-12-22 04:31:03 +00:00
|
|
|
* @since CakePHP(tm) v 0.2.9
|
2013-05-30 22:11:14 +00:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
2010-12-22 04:31:03 +00:00
|
|
|
*/
|
|
|
|
|
2011-12-14 03:34:42 +00:00
|
|
|
App::uses('AclNode', 'Model');
|
2010-12-22 04:31:03 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Access Control Object
|
|
|
|
*
|
2011-07-26 06:16:14 +00:00
|
|
|
* @package Cake.Model
|
2010-12-22 04:31:03 +00:00
|
|
|
*/
|
|
|
|
class Aco extends AclNode {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Model name
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $name = 'Aco';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Binds to ARO nodes through permissions settings
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
|
2012-12-05 14:00:24 +00:00
|
|
|
}
|