original_string: public function getSitesIdWithAtLeastViewAccess()
      {
          $this->loadSitesIfNeeded();
  
          return array_unique(array_merge(
                  $this->idsitesByAccess['view'],
                  $this->idsitesByAccess['write'],
                  $this->idsitesByAccess['admin'],
                  $this->idsitesByAccess['superuser'])
          );
      }
code: public function getSitesIdWithAtLeastViewAccess()
      {
          $this->loadSitesIfNeeded();
  
          return array_unique(array_merge(
                  $this->idsitesByAccess['view'],
                  $this->idsitesByAccess['write'],
                  $this->idsitesByAccess['admin'],
                  $this->idsitesByAccess['superuser'])
          );
      }
code_tokens: public function getSitesIdWithAtLeastViewAccess ( ) { $ this -> loadSitesIfNeeded ( ) ; return array_unique ( array_merge ( $ this -> idsitesByAccess [ 'view' ] , $ this -> idsitesByAccess [ 'write' ] , $ this -> idsitesByAccess [ 'admin' ] , $ this -> idsitesByAccess [ 'superuser' ] ) ) ; }
docstring: Returns an array of ID sites for which the user has at least a VIEW access.
  Which means VIEW OR WRITE or ADMIN or SUPERUSER.
  
  @return array  Example if the user is ADMIN for 4
  and has VIEW access for 1 and 7, it returns array(1, 4, 7);
docstring_tokens: Returns an array of ID sites for which the user has at least a VIEW access . Which means VIEW OR WRITE or ADMIN or SUPERUSER .