There is no license information available for the latest version (dev-master) of this package.

Special Collections API for PHP.

dev-master 2015-02-06 13:59 UTC

This package is not auto-updated.

Last update: 2020-03-20 16:32:57 UTC


Latest Stable Version

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 />';