Aco.php 973 B

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