Add v0.0.4
这个提交存在于:
父节点
7a80f1827e
当前提交
ec2bf99b90
共有 17 个文件被更改,包括 249 次插入 和 45 次删除
|
@ -54,10 +54,10 @@ order by sort');
|
|||
return $entryArray;
|
||||
}
|
||||
|
||||
public static function getAuthorName ($authorId) {
|
||||
public static function getAuthorById ($authorId) {
|
||||
$result = parent::getDb ()->prepare('select sort from authors where id = ?');
|
||||
$result->execute (array ($authorId));
|
||||
return $result->fetchColumn ();
|
||||
return new Author ($authorId, $result->fetchColumn ());
|
||||
}
|
||||
|
||||
public static function getAuthorByBookId ($bookId) {
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用