예제 #1
0
 public static function getAllPublishersByQuery($query)
 {
     return Base::getEntryArrayWithBookNumber(self::SQL_PUBLISHERS_FOR_SEARCH, self::PUBLISHERS_COLUMNS, array('%' . $query . '%'), "Publisher");
 }
예제 #2
0
파일: tag.php 프로젝트: BreizhCat/cops
 public static function getAllTags()
 {
     return Base::getEntryArrayWithBookNumber(self::SQL_ALL_TAGS, self::TAG_COLUMNS, array(), "Tag");
 }
예제 #3
0
파일: author.php 프로젝트: ha-y/cops
 public static function getEntryArray($query, $params)
 {
     return Base::getEntryArrayWithBookNumber($query, self::AUTHOR_COLUMNS, $params, "Author");
 }
예제 #4
0
파일: serie.php 프로젝트: BreizhCat/cops
 public static function getAllSeriesByQuery($query)
 {
     return Base::getEntryArrayWithBookNumber(self::SQL_SERIES_FOR_SEARCH, self::SERIES_COLUMNS, array('%' . $query . '%'), "Serie");
 }