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 https://nette.org
- 12: *
- 19: */
- 23: /**
- 24: * Represents conditional ACL Rules with Assertions.
- 25: *
- 29: */
- 31: {
- 32: /**
- 33: * Returns true if and only if the assertion conditions are met.
- 34: *
- 35: * This method is passed the ACL, Role, Resource, and privilege to which the authorization query applies. If the
- 36: * $role, $resource, or $privilege parameters are Permission::ALL, it means that the query applies to all Roles,
- 37: * Resources, or privileges, respectively.
- 38: *
- 44: */
- 46: }