Aco.php 928 B

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