public function renderAdd($type, $backURL)
 {
     $add = new Form($type);
     $add->setBackButtonURL($backURL);
     $add->setCategory($this->getCategoryObject());
     $add->setDashboardPageParameters($this->getRequestActionParameters());
     $this->set('attributeView', $add);
     $this->set('pageTitle', t('Add Attribute'));
 }
Esempio n. 2
0
 public function view()
 {
     $this->set('key', $this->key);
     parent::view();
 }