original_string: private function getSitesFromIds($idSites, $limit = false)
      {
          $sites = $this->getModel()->getSitesFromIds($idSites, $limit);
  
          foreach ($sites as &$site) {
              $this->enrichSite($site);
          }
  
          $sites = Site::setSitesFromArray($sites);
  
          return $sites;
      }
code: private function getSitesFromIds($idSites, $limit = false)
      {
          $sites = $this->getModel()->getSitesFromIds($idSites, $limit);
  
          foreach ($sites as &$site) {
              $this->enrichSite($site);
          }
  
          $sites = Site::setSitesFromArray($sites);
  
          return $sites;
      }
code_tokens: private function getSitesFromIds ( $ idSites , $ limit = false ) { $ sites = $ this -> getModel ( ) -> getSitesFromIds ( $ idSites , $ limit ) ; foreach ( $ sites as & $ site ) { $ this -> enrichSite ( $ site ) ; } $ sites = Site :: setSitesFromArray ( $ sites ) ; return $ sites ; }
docstring: Returns the list of websites from the ID array in parameters.
  The user access is not checked in this method so the ID have to be accessible by the user!
  
  @param array $idSites list of website ID
  @param bool $limit
  @return array
docstring_tokens: Returns the list of websites from the ID array in parameters . The user access is not checked in this method so the ID have to be accessible by the user!