/** * Sets the field values to be displayed in the HTML template. * @param I2CE_Template &$template */ public function setDisplayData(&$template) { parent::setDisplayData($template); $template->setDisplayData("add_type", array("type" => $this->getName())); $template->setDisplayData("type_name", $this->getDisplayName()); }