original_string: public function getSitesId()
      {
          $result = Db::fetchAll("SELECT idsite FROM " . Common::prefixTable('site'));
  
          $idSites = array();
          foreach ($result as $idSite) {
              $idSites[] = $idSite['idsite'];
          }
  
          return $idSites;
      }
code: public function getSitesId()
      {
          $result = Db::fetchAll("SELECT idsite FROM " . Common::prefixTable('site'));
  
          $idSites = array();
          foreach ($result as $idSite) {
              $idSites[] = $idSite['idsite'];
          }
  
          return $idSites;
      }
code_tokens: public function getSitesId ( ) { $ result = Db :: fetchAll ( "SELECT idsite FROM " . Common :: prefixTable ( 'site' ) ) ; $ idSites = array ( ) ; foreach ( $ result as $ idSite ) { $ idSites [ ] = $ idSite [ 'idsite' ] ; } return $ idSites ; }
docstring: Returns the list of all the website IDs registered.
  Caller must check access.
  
  @return array The list of website IDs
docstring_tokens: Returns the list of all the website IDs registered . Caller must check access .