/** * The main method of the Plugin. * * @param string $content The Plugin content * @param array $conf The Plugin configuration * @return string The content that is displayed on the website */ public function main($content, array $conf) { $this->conf = $conf; $this->pi_setPiVarDefaults(); $this->pi_loadLL(); $content = ''; // News require_once("fileadmin/php/class.NEWS_SIDEBAR.php"); $site = new NEWS_SIDEBAR(); $content .= $site->getCONTENT(); // Termine require_once('fileadmin/php/class.TERMINE_SIDEBAR.php'); $termine = new TERMINE_SIDEBAR(); $content .= $termine->getCONTENT(); return $this->pi_wrapInBaseClass($content); } }