Skip to content
Snippets Groups Projects
Commit e5b5b1f0 authored by Demian Katz's avatar Demian Katz
Browse files

Added Clavius ILS driver (thanks to Josef Moravec).

parent ccc5d682
No related merge requests found
[Catalog]
; mysql host server:
host = mysql.myuniversity.edu
; mysql port:
port = 3306
; mysql username:
username = clavius
; mysql password
password = mypassword
; mysql database - usually clavius
database = clavius
; base URL to your catalog, without ending "l.dll", or "baze.htm"
url = http://www.myuniversity.edu/katalog/
; If you are importing records with id with prefixes (KN3112....) the id_prefix setting needs to be true
id_prefix = true
; if your library enters barcodes to items manually, the use_barcode setting needs to be true, if barcodes are generated by Clavius, use false
use_barcodes = false
; your library's prefix, usually 5-digit number
prefix = 99000
; how long are new items should be hidden in katalog
hide_days = 0
...@@ -88,12 +88,12 @@ lifetime = 3600 ; Session lasts for 1 hour ...@@ -88,12 +88,12 @@ lifetime = 3600 ; Session lasts for 1 hour
; Please set the ILS that VuFind will interact with. ; Please set the ILS that VuFind will interact with.
; ;
; Available drivers: Aleph, Amicus, Evergreen, Horizon (basic database access only), ; Available drivers: Aleph, Amicus, ClaviusSQL, Evergreen, Horizon (basic database
; HorizonXMLAPI (more features via API), Innovative, Koha, NewGenLib, NoILS ; access only), HorizonXMLAPI (more features via API), Innovative, Koha,
; (for users without an ILS, or to disable ILS functionality during ; NewGenLib, NoILS (for users without an ILS, or to disable ILS functionality
; maintenance), Unicorn (which also applies to SirsiDynix Symphony), Virtua, ; during maintenance), Unicorn (which also applies to SirsiDynix Symphony),
; Voyager (for Voyager 6+), VoyagerRestful (for Voyager 7+ w/ RESTful web ; Virtua, Voyager (for Voyager 6+), VoyagerRestful (for Voyager 7+ w/ RESTful
; services), XCNCIP (for XC NCIP Toolkit v1.x), XCNCIP2 (for XC NCIP Tookit ; web services), XCNCIP (for XC NCIP Toolkit v1.x), XCNCIP2 (for XC NCIP Tookit
; v2.x) ; v2.x)
; Note: Unicorn users should visit the vufind-unicorn project for more details: ; Note: Unicorn users should visit the vufind-unicorn project for more details:
; http://code.google.com/p/vufind-unicorn/ ; http://code.google.com/p/vufind-unicorn/
......
This diff is collapsed.
<?php
/**
* ILS driver test
*
* PHP version 5
*
* Copyright (C) Villanova University 2011.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @category VuFind2
* @package Tests
* @author Demian Katz <demian.katz@villanova.edu>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://www.vufind.org Main Page
*/
namespace VuFindTest\ILS\Driver;
use VuFind\ILS\Driver\ClaviusSQL;
/**
* ILS driver test
*
* @category VuFind2
* @package Tests
* @author Demian Katz <demian.katz@villanova.edu>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://www.vufind.org Main Page
*/
class ClaviusSQLTest extends \VuFindTest\Unit\TestCase
{
protected $driver;
/**
* Constructor
*/
public function __construct()
{
$this->driver = new ClaviusSQL();
}
/**
* Test that driver complains about missing configuration.
*
* @return void
*/
public function testMissingConfiguration()
{
$this->setExpectedException('VuFind\Exception\ILS');
$this->driver->init();
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment