unikent/lib-php-collections

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

Special Collections API for PHP.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 14

Forks: 0

Open Issues: 0

pkg:composer/unikent/lib-php-collections

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

This package is not auto-updated.

Last update: 2025-10-11 22:31:38 UTC


README

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