/** * User function (called from TypoScript) for generating a code listing (used in parsefunc) * * @param string $content: Empty, ignore. * @param array $conf: TypoScript parameters * @return string Processed output. */ function typocode($content, $conf) { // Nothing is really done here... $this->conf = $conf; $this->siteUrl = $conf['siteUrl']; return $this->cObj->getCurrentVal(); }