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

Updated Summon dependency.

parent a0d3f729
No related merge requests found
...@@ -358,12 +358,12 @@ ...@@ -358,12 +358,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/summon/Summon.php.git", "url": "https://github.com/summon/Summon.php.git",
"reference": "2acfaf80bdd6414dec17478418d7c213e220575d" "reference": "18840ee36537889269e22e4ef69561461547b6f1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/summon/Summon.php/zipball/2acfaf80bdd6414dec17478418d7c213e220575d", "url": "https://api.github.com/repos/summon/Summon.php/zipball/18840ee36537889269e22e4ef69561461547b6f1",
"reference": "2acfaf80bdd6414dec17478418d7c213e220575d", "reference": "18840ee36537889269e22e4ef69561461547b6f1",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
"source": "https://github.com/summon/Summon.php/tree/master", "source": "https://github.com/summon/Summon.php/tree/master",
"issues": "https://github.com/summon/Summon.php/issues" "issues": "https://github.com/summon/Summon.php/issues"
}, },
"time": "2013-09-26 19:09:03" "time": "2013-11-08 13:57:56"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
......
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php'; require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit051c0821dd0a7122afa1b731228664e9::getLoader(); return ComposerAutoloaderInit9d8033630a6ee5af71c27fda7477a7e0::getLoader();
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit051c0821dd0a7122afa1b731228664e9 class ComposerAutoloaderInit9d8033630a6ee5af71c27fda7477a7e0
{ {
private static $loader; private static $loader;
...@@ -19,9 +19,9 @@ class ComposerAutoloaderInit051c0821dd0a7122afa1b731228664e9 ...@@ -19,9 +19,9 @@ class ComposerAutoloaderInit051c0821dd0a7122afa1b731228664e9
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit051c0821dd0a7122afa1b731228664e9', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit9d8033630a6ee5af71c27fda7477a7e0', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit051c0821dd0a7122afa1b731228664e9', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit9d8033630a6ee5af71c27fda7477a7e0', 'loadClassLoader'));
$vendorDir = dirname(__DIR__); $vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir); $baseDir = dirname($vendorDir);
......
...@@ -514,44 +514,6 @@ ...@@ -514,44 +514,6 @@
"qrcode" "qrcode"
] ]
}, },
{
"name": "serialssolutions/summon",
"version": "dev-master",
"version_normalized": "9999999-dev",
"source": {
"type": "git",
"url": "https://github.com/summon/Summon.php.git",
"reference": "2acfaf80bdd6414dec17478418d7c213e220575d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/summon/Summon.php/zipball/2acfaf80bdd6414dec17478418d7c213e220575d",
"reference": "2acfaf80bdd6414dec17478418d7c213e220575d",
"shasum": ""
},
"time": "2013-09-26 19:09:03",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"SerialsSolutions": ""
}
},
"license": [
"GPL-2.0"
],
"authors": [
{
"name": "Demian Katz",
"email": "demian.katz@villanova.edu"
}
],
"description": "Library for interacting with Serials Solutions' Summon API.",
"support": {
"source": "https://github.com/summon/Summon.php/tree/master",
"issues": "https://github.com/summon/Summon.php/issues"
}
},
{ {
"name": "jasig/phpcas", "name": "jasig/phpcas",
"version": "dev-master", "version": "dev-master",
...@@ -681,5 +643,43 @@ ...@@ -681,5 +643,43 @@
"/" "/"
], ],
"description": "The standard for machine-readable cataloging (MARC) records is documented at http://loc.gov/marc/. This package enables you to read existing MARC records from a file, string, or (using the YAZ extension), from a Z39.50 source. You can also use this package to create new MARC records.\n\nThis package is based on the PHP MARC package, originally called \"php-marc\", that is part of the Emilda Project (http://www.emilda.org). Christoffer Landtman generously agreed to make the \"php-marc\" code available under the GNU LGPL so it could be used as the basis of this PEAR package." "description": "The standard for machine-readable cataloging (MARC) records is documented at http://loc.gov/marc/. This package enables you to read existing MARC records from a file, string, or (using the YAZ extension), from a Z39.50 source. You can also use this package to create new MARC records.\n\nThis package is based on the PHP MARC package, originally called \"php-marc\", that is part of the Emilda Project (http://www.emilda.org). Christoffer Landtman generously agreed to make the \"php-marc\" code available under the GNU LGPL so it could be used as the basis of this PEAR package."
},
{
"name": "serialssolutions/summon",
"version": "dev-master",
"version_normalized": "9999999-dev",
"source": {
"type": "git",
"url": "https://github.com/summon/Summon.php.git",
"reference": "18840ee36537889269e22e4ef69561461547b6f1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/summon/Summon.php/zipball/18840ee36537889269e22e4ef69561461547b6f1",
"reference": "18840ee36537889269e22e4ef69561461547b6f1",
"shasum": ""
},
"time": "2013-11-08 13:57:56",
"type": "library",
"installation-source": "source",
"autoload": {
"psr-0": {
"SerialsSolutions": ""
}
},
"license": [
"GPL-2.0"
],
"authors": [
{
"name": "Demian Katz",
"email": "demian.katz@villanova.edu"
}
],
"description": "Library for interacting with Serials Solutions' Summon API.",
"support": {
"source": "https://github.com/summon/Summon.php/tree/master",
"issues": "https://github.com/summon/Summon.php/issues"
}
} }
] ]
...@@ -123,6 +123,12 @@ class SerialsSolutions_Summon_Query ...@@ -123,6 +123,12 @@ class SerialsSolutions_Summon_Query
*/ */
protected $language = 'en'; protected $language = 'en';
/**
* Query expansion setting
* @var bool
*/
protected $expand = false;
/** /**
* Constructor * Constructor
* *
...@@ -183,6 +189,9 @@ class SerialsSolutions_Summon_Query ...@@ -183,6 +189,9 @@ class SerialsSolutions_Summon_Query
if (!empty($this->sort)) { if (!empty($this->sort)) {
$options['s.sort'] = $this->sort; $options['s.sort'] = $this->sort;
} }
if ($this->expand) {
$options['s.exp'] = 'true';
}
if ($this->highlight) { if ($this->highlight) {
$options['s.hl'] = 'true'; $options['s.hl'] = 'true';
$options['s.hs'] = $this->highlightStart; $options['s.hs'] = $this->highlightStart;
......
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