protected function setDisplayData() { parent::setDisplayData(); $listConfig = $this->getListConfig(); if (($primary = $this->getPrimary()) instanceof I2CE_List) { $this->template->setDisplayData("type_name", $primary->getDisplayName()); $this->template->setDisplayData("form", $primary->getName()); $this->template->setDisplayData("id", $primary->getNameId()); } if (!$listConfig['type']) { $this->template->setDisplayData("form", $this->request('form')); } else { $this->template->setDisplayData("type", $this->request('type')); } $this->template->setDisplayData("link", $this->request("link")); if (I2CE_FormStorage::isWritable($this->getPrimaryFormName())) { $this->template->setDisplayData("list_is_writable", 1); } else { $this->template->setDisplayData("list_is_writable", 0); } }