original_string: public function getPermissionsRawForUuid($accessEntityUuid)
      {
          // Do not check the database if we haven't all data
          if ($accessEntityUuid == '') {
              return array();
          }
      
          try {
              $em = $this->entityManager->getDoctrineEntityManager();
              $permissions = $em->getRepository('\\Zepi\\Core\\AccessControl\\Entity\\Permission')->findBy(array(
                  'accessEntityUuid' => $accessEntityUuid
              ));
              
              $accessLevels = array();
              foreach ($permissions as $permission) {
                  $accessLevels[] = $permission->getAccessLevelKey();
              }
  
              return $accessLevels;
          } catch (\Exception $e) {
              throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
          }
      }
code: public function getPermissionsRawForUuid($accessEntityUuid)
      {
          // Do not check the database if we haven't all data
          if ($accessEntityUuid == '') {
              return array();
          }
      
          try {
              $em = $this->entityManager->getDoctrineEntityManager();
              $permissions = $em->getRepository('\\Zepi\\Core\\AccessControl\\Entity\\Permission')->findBy(array(
                  'accessEntityUuid' => $accessEntityUuid
              ));
              
              $accessLevels = array();
              foreach ($permissions as $permission) {
                  $accessLevels[] = $permission->getAccessLevelKey();
              }
  
              return $accessLevels;
          } catch (\Exception $e) {
              throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
          }
      }
code_tokens: public function getPermissionsRawForUuid ( $ accessEntityUuid ) { // Do not check the database if we haven't all data if ( $ accessEntityUuid == '' ) { return array ( ) ; } try { $ em = $ this -> entityManager -> getDoctrineEntityManager ( ) ; $ permissions = $ em -> getRepository ( '\\Zepi\\Core\\AccessControl\\Entity\\Permission' ) -> findBy ( array ( 'accessEntityUuid' => $ accessEntityUuid ) ) ; $ accessLevels = array ( ) ; foreach ( $ permissions as $ permission ) { $ accessLevels [ ] = $ permission -> getAccessLevelKey ( ) ; } return $ accessLevels ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot load the permission for the given uuid "' . $ accessEntityUuid . '".' , 0 , $ e ) ; } }
docstring: Returns an array with all granted access levels for the given
  access entity uuid whithout resolving the group access levels.
  
  @access public
  @param string $accessEntityUuid
  @return array|false
  
  @throws \Zepi\Core\AccessControl\Exception Cannot load the permission for the given uuid "{uuid}".
docstring_tokens: Returns an array with all granted access levels for the given access entity uuid whithout resolving the group access levels .