/** * Method description * * More detailed method description * @param void * @return void */ function preRender() { $this->checkAndSetData(); if ($this->getType() == "image") { $this->setTemplate("image"); /*$controller = &CController::getInstance(); $controller->addToCorrespMap($this->getName()."_x",$this->datahandler,1); $controller->addToCorrespMap($this->getName()."_y",$this->datahandler,1);*/ } if (!isset($this->tpl)) { $this->tpl = $this->createTemplate(); } parent::preRender(); }
function preRender() { parent::preRender(); $this->childPreRender(); }