1: <?php
2: /**
3: *
4: * PHP 5
5: *
6: * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
7: * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
8: *
9: * Licensed under The MIT License
10: * Redistributions of files must retain the above copyright notice.
11: *
12: * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
13: * @link http://cakephp.org CakePHP(tm) Project
14: * @package Cake.Model
15: * @since CakePHP(tm) v 0.2.9
16: * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
17: */
18:
19: App::uses('AclNode', 'Model');
20:
21: /**
22: * Access Control Object
23: *
24: * @package Cake.Model
25: */
26: class Aco extends AclNode {
27:
28: /**
29: * Model name
30: *
31: * @var string
32: */
33: public $name = 'Aco';
34:
35: /**
36: * Binds to ARO nodes through permissions settings
37: *
38: * @var array
39: */
40: public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
41: }