IsAfterMembershipEndedAndNotTagged
in package
implements
AssertionInterface
Assertion to check if when the user is a graduate, that the album they are trying to view is before their membership ended or they are tagged in at least one of the photos in the album.
Table of Contents
Interfaces
- AssertionInterface
Methods
- assert() : bool
- Returns true if and only if the assertion conditions are met.
Methods
assert()
Returns true if and only if the assertion conditions are met.
public
assert(Acl $acl[, RoleInterface|null $role = null ][, ResourceInterface|null $resource = null ][, string|null $privilege = null ]) : bool
This method is passed the ACL, Role, Resource, and privilege to which the authorization query applies. If the $role, $resource, or $privilege parameters are null, it means that the query applies to all Roles, Resources, or privileges, respectively.
Parameters
- $acl : Acl
- $role : RoleInterface|null = null
- $resource : ResourceInterface|null = null
- $privilege : string|null = null