diff --git a/module/VuDL/src/VuDL/Connection/Fedora.php b/module/VuDL/src/VuDL/Connection/Fedora.php index 2b2ab92fe1aca4d3d629e7fa8a7d0ba813ba52ae..118b45c371b434958184974e2134f6a687c87b45 100644 --- a/module/VuDL/src/VuDL/Connection/Fedora.php +++ b/module/VuDL/src/VuDL/Connection/Fedora.php @@ -384,7 +384,8 @@ class Fedora extends AbstractBase /** * Get collapsable XML for an id * - * @param object $record Record data + * @param object $record Record data + * @param View\Renderer $renderer View renderer to get techinfo template * * @return html string */ diff --git a/module/VuDL/src/VuDL/Connection/Solr.php b/module/VuDL/src/VuDL/Connection/Solr.php index 6cae0ecce3357c820b2158486abc334697dbf61b..f11f810c590984505d9d3f8bc815c08a99c55faf 100644 --- a/module/VuDL/src/VuDL/Connection/Solr.php +++ b/module/VuDL/src/VuDL/Connection/Solr.php @@ -337,7 +337,7 @@ class Solr extends AbstractBase /** * Perform a search with clean params * - * @param ParamBag $paramBag + * @param ParamBag $paramBag The params you'd normally send to solr * * @return json */ diff --git a/module/VuDL/src/VuDL/OutlineGenerator.php b/module/VuDL/src/VuDL/OutlineGenerator.php index e0559aa5257526cf1fe1753ce420461d8d1989f0..d83806c3fcb9395413b800b80a8442d0c4116090 100644 --- a/module/VuDL/src/VuDL/OutlineGenerator.php +++ b/module/VuDL/src/VuDL/OutlineGenerator.php @@ -98,10 +98,10 @@ class OutlineGenerator /** * Constructor * - * @param Fedora $fedora Fedora connection - * @param UrlHelper $url URL helper - * @param array $routes VuDL route configuration - * @param object|bool $cache Cache object (or false to disable caching) + * @param Fedora $connector VuDL connection manager + * @param UrlHelper $url URL helper + * @param array $routes VuDL route configuration + * @param object|bool $cache Cache object (or false to disable caching) */ public function __construct(Connection\Manager $connector, UrlHelper $url, $routes = array(), $cache = false @@ -170,7 +170,11 @@ class OutlineGenerator { // Reset the state of the class: $this->queue = $this->moddate = array(); - $this->outline = array('counts'=>array(), 'names'=>array(), 'lists'=>array()); + $this->outline = array( + 'counts'=>array(), + 'names'=>array(), + 'lists'=>array() + ); // Check modification date $rootModDate = $this->connector->getModDate($root); @@ -290,6 +294,7 @@ class OutlineGenerator * Generate an array of all child pages and their information/images * * @param string $root record id to search under + * @param string $cache 'cache' get parameter for skipping the cache * @param string $start page/doc to start with for the return * @param int $pageLength page length (leave null to use default) *