Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
AclArrayProvider Class Reference

Ubiquity\security\acl\persistence$AclArrayProvider This class is part of Ubiquity. More...

+ Inheritance diagram for AclArrayProvider:

Public Member Functions

 __construct ()
 
 loadAllAcls ()
 {
Returns
AclElement[]
}
 
 saveAcl (AclElement $aclElement)
 
 removeAcl (AclElement $aclElement)
 
 loadAllPermissions ()
 {
Returns
Permission[]
}
 
 loadAllResources ()
 {
Returns
Resource[]
}
 
 loadAllRoles ()
 {
Returns
Role[]
}
 
 savePart (\Ubiquity\security\acl\models\AbstractAclPart $part)
 
 updatePart (string $id,\Ubiquity\security\acl\models\AbstractAclPart $part)
 
 removePart (\Ubiquity\security\acl\models\AbstractAclPart $part)
 
 existPart (AbstractAclPart $part)
 
 existAcl (AclElement $aclElement)
 
 getModelClassesSwap ()
 
 clearAll ()
 {}
 
- Public Member Functions inherited from AclProviderInterface
 savePart (AbstractAclPart $part)
 
 updatePart (string $id, AbstractAclPart $part)
 
 removePart (AbstractAclPart $part)
 
 isAutosave ()
 
 saveAll ()
 
 getDetails ()
 
 cacheUpdated ()
 

Protected Member Functions

 loadAllPart ($class)
 

Protected Attributes

 $aclsArray
 
 $parts
 

Detailed Description

Ubiquity\security\acl\persistence$AclArrayProvider This class is part of Ubiquity.

Author
jc
Version
1.0.0

Definition at line 19 of file AclArrayProvider.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Reimplemented in AclCacheProvider.

Definition at line 25 of file AclArrayProvider.php.

Member Function Documentation

◆ clearAll()

clearAll ( )

{}

See also
\Ubiquity\security\acl\persistence\AclProviderInterface::clearAll()

Implements AclProviderInterface.

Definition at line 133 of file AclArrayProvider.php.

◆ existAcl()

existAcl ( AclElement  $aclElement)

Implements AclProviderInterface.

Definition at line 120 of file AclArrayProvider.php.

◆ existPart()

existPart ( AbstractAclPart  $part)

Implements AclProviderInterface.

Definition at line 115 of file AclArrayProvider.php.

◆ getModelClassesSwap()

getModelClassesSwap ( )

Implements AclProviderInterface.

Definition at line 124 of file AclArrayProvider.php.

◆ loadAllAcls()

loadAllAcls ( )

{

Returns
AclElement[]
}

See also
\Ubiquity\security\acl\persistence\AclProviderInterface::loadAllAcls()

Implements AclProviderInterface.

Reimplemented in AclCacheProvider.

Definition at line 43 of file AclArrayProvider.php.

◆ loadAllPart()

loadAllPart (   $class)
protected

Reimplemented in AclCacheProvider.

Definition at line 27 of file AclArrayProvider.php.

◆ loadAllPermissions()

loadAllPermissions ( )

{

Returns
Permission[]
}

See also
\Ubiquity\security\acl\persistence\AclProviderInterface::loadAllPermissions()

Implements AclProviderInterface.

Definition at line 66 of file AclArrayProvider.php.

◆ loadAllResources()

loadAllResources ( )

{

Returns
Resource[]
}

See also
\Ubiquity\security\acl\persistence\AclProviderInterface::loadAllResources()

Implements AclProviderInterface.

Definition at line 75 of file AclArrayProvider.php.

◆ loadAllRoles()

loadAllRoles ( )

{

Returns
Role[]
}

See also
\Ubiquity\security\acl\persistence\AclProviderInterface::loadAllRoles()

Implements AclProviderInterface.

Definition at line 84 of file AclArrayProvider.php.

◆ removeAcl()

removeAcl ( AclElement  $aclElement)

Implements AclProviderInterface.

Definition at line 57 of file AclArrayProvider.php.

◆ removePart()

Definition at line 98 of file AclArrayProvider.php.

◆ saveAcl()

saveAcl ( AclElement  $aclElement)

Implements AclProviderInterface.

Definition at line 53 of file AclArrayProvider.php.

◆ savePart()

Definition at line 88 of file AclArrayProvider.php.

◆ updatePart()

updatePart ( string  $id,
\Ubiquity\security\acl\models\AbstractAclPart  $part 
)

Definition at line 93 of file AclArrayProvider.php.

Field Documentation

◆ $aclsArray

$aclsArray
protected

Definition at line 21 of file AclArrayProvider.php.

◆ $parts

$parts
protected

Definition at line 23 of file AclArrayProvider.php.


The documentation for this class was generated from the following file: