Simplify a little the JSON, a little more to do. re # 73

This commit is contained in:
Sébastien Lucas 2013-06-17 22:23:58 +02:00
parent 23267e37fa
commit 2029ab7d01
5 changed files with 37 additions and 24 deletions

View file

@ -126,9 +126,9 @@ class Book extends Base {
$su = $link->hrefXhtml ();
}
return array ("hasCover" => $this->hasCover,
return array ("id" => $this->id,
"hasCover" => $this->hasCover,
"preferedData" => $preferedData,
"detailUrl" => $this->getDetailUrl (),
"rating" => $this->getRating (),
"pubDate" => $this->getPubDate (),
"languagesName" => $this->getLanguages (),