protected function getField($aField) { if (isset($aField['data'])) { $this->setTransient(md5("{$aField['class_name']}_{$aField['input_id']}"), $aField['data'], 60 * 2); } $aField['attributes']['name'] = "__export[submit][{$aField['input_id']}]"; $aField['file_name'] = $aField['file_name'] ? $aField['file_name'] : $this->_generateExportFileName($aField['option_key'] ? $aField['option_key'] : $aField['class_name'], $aField['format']); $aField['label'] = $aField['label'] ? $aField['label'] : $this->oMsg->get('export'); return parent::getField($aField); }
protected function getField($aField) { $aField['attributes']['name'] = "__import[submit][{$aField['input_id']}]"; $aField['label'] = $aField['label'] ? $aField['label'] : $this->oMsg->get('import'); return parent::getField($aField); }