DefaultPrincipalFactory Class Reference
Detailed Description
Default implementation of PrincipalFactory.
Retrieves users and roles from the storage.
Definition at line 27 of file DefaultPrincipalFactory.php.
Inheritance diagram for DefaultPrincipalFactory:
Public Member Functions | |
__construct (PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, $userType, $roleType) | |
getUser ($login, $useTempPermission=false) | |
getUserRoles (User $user, $useTempPermission=false) | |
getRole ($name, $useTempPermission=false) | |
Constructor & Destructor Documentation
__construct | ( | PersistenceFacade | $persistenceFacade, |
PermissionManager | $permissionManager, | ||
$userType, | |||
$roleType | |||
) |
Constructor.
- Parameters
-
$persistenceFacade $permissionManager $userType Entity type name of User instances $roleType Entity type name of Role instances
Definition at line 43 of file DefaultPrincipalFactory.php.
Member Function Documentation
getUser | ( | $login, | |
$useTempPermission = false |
|||
) |
- See also
- PrincipalFactory::getUser()
Implements PrincipalFactory.
Definition at line 54 of file DefaultPrincipalFactory.php.
getUserRoles | ( | User | $user, |
$useTempPermission = false |
|||
) |
- See also
- PrincipalFactory::getUserRoles()
Implements PrincipalFactory.
Definition at line 73 of file DefaultPrincipalFactory.php.
getRole | ( | $name, | |
$useTempPermission = false |
|||
) |
- See also
- PrincipalFactory::getRole()
Implements PrincipalFactory.
Definition at line 103 of file DefaultPrincipalFactory.php.