public function getAllSites()
    {
        $db = $this->getDb();
        $sites = $db->fetchAll("SELECT * FROM " . $this->table . " ORDER BY idsite ASC");

        return $sites;
    }
public function getAllSites()
    {
        $db = $this->getDb();
        $sites = $db->fetchAll("SELECT * FROM " . $this->table . " ORDER BY idsite ASC");

        return $sites;
    }
public function getAllSites ( ) { $ db = $ this -> getDb ( ) ; $ sites = $ db -> fetchAll ( "SELECT * FROM " . $ this -> table . " ORDER BY idsite ASC" ) ; return $ sites ; }
Returns all websites

@return array The list of websites, indexed by idsite
Returns all websites