Add v0.0.3
This commit is contained in:
parent
f460bd8731
commit
2308af6033
10 changed files with 146 additions and 24 deletions
|
@ -20,14 +20,14 @@ class Serie extends Base {
|
|||
}
|
||||
|
||||
public function getUri () {
|
||||
return "feed.php?page=".parent::PAGE_SERIE_DETAIL."&id=$this->id";
|
||||
return "?page=".parent::PAGE_SERIE_DETAIL."&id=$this->id";
|
||||
}
|
||||
|
||||
public static function getCount() {
|
||||
$nSeries = parent::getDb ()->query('select count(*) from series')->fetchColumn();
|
||||
$entry = new Entry ("Series", self::ALL_SERIES_ID,
|
||||
"Alphabetical index of the $nSeries series", "text",
|
||||
array ( new LinkNavigation ("feed.php?page=".parent::PAGE_ALL_SERIES)));
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_SERIES)));
|
||||
return $entry;
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ order by series.sort');
|
|||
{
|
||||
array_push ($entryArray, new Entry ($post->sort, self::ALL_SERIES_ID.":".$post->id,
|
||||
"$post->count books", "text",
|
||||
array ( new LinkNavigation ("feed.php?page=".parent::PAGE_SERIE_DETAIL."&id=$post->id"))));
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_SERIE_DETAIL."&id=$post->id"))));
|
||||
}
|
||||
return $entryArray;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue