本文整理匯總了PHP中Base::getEntryArrayWithBookNumber方法的典型用法代碼示例。如果您正苦於以下問題:PHP Base::getEntryArrayWithBookNumber方法的具體用法?PHP Base::getEntryArrayWithBookNumber怎麽用?PHP Base::getEntryArrayWithBookNumber使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Base
的用法示例。
在下文中一共展示了Base::getEntryArrayWithBookNumber方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getAllPublishersByQuery
public static function getAllPublishersByQuery($query)
{
return Base::getEntryArrayWithBookNumber(self::SQL_PUBLISHERS_FOR_SEARCH, self::PUBLISHERS_COLUMNS, array('%' . $query . '%'), "Publisher");
}
示例2: getAllTags
public static function getAllTags()
{
return Base::getEntryArrayWithBookNumber(self::SQL_ALL_TAGS, self::TAG_COLUMNS, array(), "Tag");
}
示例3: getEntryArray
public static function getEntryArray($query, $params)
{
return Base::getEntryArrayWithBookNumber($query, self::AUTHOR_COLUMNS, $params, "Author");
}
示例4: getAllSeriesByQuery
public static function getAllSeriesByQuery($query)
{
return Base::getEntryArrayWithBookNumber(self::SQL_SERIES_FOR_SEARCH, self::SERIES_COLUMNS, array('%' . $query . '%'), "Serie");
}