From 662b048a2fc084124cf02384e7c0b027b6c88ec6 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 14 Sep 2012 11:58:03 -0400 Subject: [PATCH] Removed unused declaration; added missing comments. --- module/VuFind/src/VuFind/ILS/Driver/Demo.php | 26 +++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/Demo.php b/module/VuFind/src/VuFind/ILS/Driver/Demo.php index d8b197629cb..88fb82d6d2e 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Demo.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Demo.php @@ -34,7 +34,7 @@ use ArrayObject, VuFind\Config\Reader as ConfigReader, VuFind\Connection\Manager as ConnectionManager, VuFind\Date\Converter as DateConverter, VuFind\Exception\Date as DateException, - VuFind\Exception\ILS as ILSException, VuFind\Translator\Translator, + VuFind\Exception\ILS as ILSException, Zend\Session\Container as SessionContainer; /** @@ -48,12 +48,32 @@ use ArrayObject, VuFind\Config\Reader as ConfigReader, */ class Demo extends AbstractBase { - // Used when getting random bib ids from solr + /** + * Connection used when getting random bib ids from Solr + * + * @var object + */ protected $db; + + /** + * Total count of records in the Solr index (used for random bib lookup) + * + * @var int + */ protected $totalRecords; + + /** + * Container for storing persistent simulated ILS data. + * + * @var SessionContainer + */ protected $session; - // Should we return bib IDs in MyResearch responses? + /** + * Should we return bib IDs in MyResearch responses? + * + * @var bool + */ protected $idsInMyResearch = true; /** -- GitLab