return $entry[0];
}
- public function getEntriesByView($view) {
+ public function getEntriesByView($view, $limit = '') {
parent::__construct();
switch ($_SESSION['sort'])
break;
}
+ $sql .= ' ' . $limit;
+
$query = $this->executeQuery($sql, $params);
$entries = $query->fetchAll();