home = $home; } /** * Prints the ToolBar * * @param string $value * @return string */ public function render($value) { $this->toolBar = new ToolBar($this->xmlfile, $this->home); $template = PATH_CORE . 'templates/' . $this->type . '.html'; $out = $this->toolBar->render($template, $scriptCode); $oHeadPublisher = & headPublisher::getSingleton(); $oHeadPublisher->addScriptFile($this->toolBar->scriptURL); $oHeadPublisher->addScriptCode($scriptCode); return $out; } }