public function editAction() { parent::editAction(); $table = $this->_helper->db; $this->view->sequenceTypeOptions = $table->getTable()->getSequenceTypesForSelect(); $this->view->sequenceElementOptions = $table->getTable()->getElementsForSelect(); $this->view->corpus = $this->view->ngram_corpu; // correct poor inflection }
/** * Adds an additional permissions check to the built-in edit action. * */ public function editAction() { // Get all the element sets that apply to the item. $this->view->elementSets = $this->_getItemElementSets(); if (!Zend_Registry::isRegistered('file_derivative_creator') && is_allowed('Settings', 'edit')) { $this->_helper->flashMessenger(__('The ImageMagick directory path has not been set. No derivative images will be created. If you would like Omeka to create derivative images, please set the path in Settings.')); } parent::editAction(); }
public function editAction() { $timeline = $this->_helper->db->findById(); require_once NEATLINE_TIME_FORMS_DIR . '/timeline.php'; $form = new NeatlineTime_Form_Timeline(); $form->setDefaults(array('title' => $timeline->title, 'description' => $timeline->description, 'public' => $timeline->public, 'featured' => $timeline->featured)); $this->view->form = $form; parent::editAction(); }
public function editAction() { $elementSets = $this->_getFileElementSets(); $this->view->assign(compact('elementSets')); parent::editAction(); }
/** * The edit collection action * */ public function editAction() { // Get all the element sets that apply to the item. $this->view->elementSets = $this->_getCollectionElementSets(); parent::editAction(); }