Source for file IPermissionAssertion.php
Documentation is available at IPermissionAssertion.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see http://nettephp.com
- 12: *
- 18: */
- 22: /**
- 23: * Represents conditional ACL Rules with Assertions.
- 24: *
- 28: */
- 30: {
- 31: /**
- 32: * Returns true if and only if the assertion conditions are met.
- 33: *
- 34: * This method is passed the ACL, Role, Resource, and privilege to which the authorization query applies. If the
- 35: * $role, $resource, or $privilege parameters are Permission::ALL, it means that the query applies to all Roles,
- 36: * Resources, or privileges, respectively.
- 37: *
- 43: */
- 45: }