2017 © Pedro Peláez
 

library lib-php-collections

Special Collections API for PHP.

image

unikent/lib-php-collections

Special Collections API for PHP.

  • Friday, February 6, 2015
  • by sk-unikent
  • Repository
  • 13 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Special Collections PHP API

Latest Stable Version, (*1)

Full API docs available here: http://unikent.github.io/lib-php-collections/, (*2)

Add this to your composer require: * "unikent/lib-php-collections": "dev-master", (*3)

Example Usage:, (*4)

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 '

' . $result->get_title() . '

'; echo '<img src="' . $result->image_url() . '" />'; echo '

' . $result->get_description() . ', (*5)

'; echo '<br />'; }

The Versions

06/02 2015

dev-master

9999999-dev https://github.com/unikent/lib-php-collections

Special Collections API for PHP.

  Sources   Download

The Requires

 

The Development Requires

by Skylar Tristan Kelty

api library special collections