AclProvider
class AclProvider implements AclProviderInterface
An ACL provider implementation.
This provider assumes that all ACLs share the same PermissionGrantingStrategy.
Constants
MAX_BATCH_SIZE |
|
Methods
__construct(Connection $connection, PermissionGrantingStrategyInterface $permissionGrantingStrategy, array $options, AclCacheInterface $cache = null)
Constructor.
array
findChildren(ObjectIdentityInterface $parentOid, bool $directChildrenOnly = false)
Retrieves all child object identities from the database
findAcl(ObjectIdentityInterface $oid, array $sids = array())
Returns the ACL that belongs to the given object identity
findAcls(array $oids, array $sids = array())
Returns the ACLs that belong to the given object identities
Details
at line line 67
__construct(Connection $connection, PermissionGrantingStrategyInterface $permissionGrantingStrategy, array $options, AclCacheInterface $cache = null)
Constructor.
at line line 78
array
findChildren(ObjectIdentityInterface $parentOid, bool $directChildrenOnly = false)
Retrieves all child object identities from the database
at line line 93
AclInterface
findAcl(ObjectIdentityInterface $oid, array $sids = array())
Returns the ACL that belongs to the given object identity
at line line 101
SplObjectStorage
findAcls(array $oids, array $sids = array())
Returns the ACLs that belong to the given object identities