Aco.php 938 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. App::uses('AclNode', 'Model');
  19. /**
  20. * Access Control Object
  21. *
  22. * @package Cake.Model
  23. */
  24. class Aco extends AclNode {
  25. /**
  26. * Model name
  27. *
  28. * @var string
  29. */
  30. public $name = 'Aco';
  31. /**
  32. * Binds to ARO nodes through permissions settings
  33. *
  34. * @var array
  35. */
  36. public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
  37. }