unikent/lib-php-collections
Composer 安装命令:
composer require unikent/lib-php-collections
包简介
Special Collections API for PHP.
README 文档
README
Full API docs available here: http://unikent.github.io/lib-php-collections/
Add this to your composer require:
- "unikent/lib-php-collections": "dev-master"
Example Usage:
use \unikent\SpecialCollections\API as SCAPI;
$api = new SCAPI();
$api->set_collection(SCAPI::BCAD); // Or SCAPI::VERDI.
$search = $api->get_search();
$search->set_query('refno', 'GW0047')
$results = $search->get_results();
foreach ($results as $result) {
echo '<h3>' . $result->get_title() . '</h3>';
echo '<img src="' . $result->image_url() . '" />';
echo '<p>' . $result->get_description() . '</p>';
echo '<br />';
}
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-02-06