diff --git a/module/VuFind/src/VuFind/ILS/Driver/Demo.php b/module/VuFind/src/VuFind/ILS/Driver/Demo.php index d8b197629cb263dbd4351a4e088902bbe6a90901..88fb82d6d2e45e8b38344d3c22411a7706357ea0 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; /**