1: <?php
2: /**
3: *
4: * PHP 5
5: *
6: * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
7: * Copyright 2005-2011, 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-2011, 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('AppModel', 'Model');
20: App::uses('AclNode', 'Model');
21:
22: /**
23: * Access Control Object
24: *
25: * @package Cake.Model
26: */
27: class Aco extends AclNode {
28:
29: /**
30: * Model name
31: *
32: * @var string
33: */
34: public $name = 'Aco';
35:
36: /**
37: * Binds to ARO nodes through permissions settings
38: *
39: * @var array
40: */
41: public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
42: }