2010-12-22 04:31:03 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2017-06-10 21:33:55 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
|
2017-06-10 22:10:52 +00:00
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (https://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.
|
|
|
|
*
|
2017-06-10 22:10:52 +00:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
2017-06-10 21:33:55 +00:00
|
|
|
* @link https://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
|
2017-06-10 22:23:14 +00:00
|
|
|
* @license https://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
|
|
|
}
|