Aro.php 969 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. App::uses('AppModel', 'Model');
  19. App::uses('AclNode', 'Model');
  20. /**
  21. * Access Request Object
  22. *
  23. * @package Cake.Model
  24. */
  25. class Aro extends AclNode {
  26. /**
  27. * Model name
  28. *
  29. * @var string
  30. */
  31. public $name = 'Aro';
  32. /**
  33. * AROs are linked to ACOs by means of Permission
  34. *
  35. * @var array
  36. */
  37. public $hasAndBelongsToMany = array('Aco' => array('with' => 'Permission'));
  38. }