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