/** * Attach the scripts necessary for clickenlarge * * @return void */ protected function addScript() { $script = "function fedImgXL(parent, filename) { document.getElementById(parent).src = filename; };"; $this->documentHead->includeHeader($script, 'js'); }
/** * Get an array of all with extension $extension in $dir * * Remains as @api method but proxies to DocumentHead. Final location of * getFilenamesOfType($dir, $extension) may change but this method will remain. * * @param string $dir * @param string $type * @return array * @api */ public function getFilenamesOfType($dir, $extension = NULL) { return $this->documentHead->getFilenamesOfType($dir, $extension); }