eZ\Publish\Core\Persistence\Legacy\User\Role\Gateway::loadRoleAssignmentsByRoleId PHP Method

loadRoleAssignmentsByRoleId() abstract public method

Loads role assignments for given role ID.
abstract public loadRoleAssignmentsByRoleId ( mixed $roleId ) : array
$roleId mixed
return array
    public abstract function loadRoleAssignmentsByRoleId($roleId);

Usage Example

Esempio n. 1
0
 /**
  * Loads roles assignments Role.
  *
  * Role Assignments with same roleId and limitationIdentifier will be merged together into one.
  *
  * @param mixed $roleId
  *
  * @return \eZ\Publish\SPI\Persistence\User\RoleAssignment[]
  */
 public function loadRoleAssignmentsByRoleId($roleId)
 {
     $data = $this->roleGateway->loadRoleAssignmentsByRoleId($roleId);
     if (empty($data)) {
         return array();
     }
     return $this->mapper->mapRoleAssignments($data);
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\User\Role\Gateway::loadRoleAssignmentsByRoleId