/** * @return array */ protected function getEditableHtmlOptions() { $htmlOptions = parent::getEditableHtmlOptions(); if (isset($htmlOptions['class'])) { $htmlOptions['class'] .= ' actionAttributeType'; } else { $htmlOptions['class'] = 'actionAttributeType'; } return $htmlOptions; }
protected function getEditableHtmlOptions() { $moduleName = $this->getModuleId() . 'sModule'; $prompt = array('prompt' => Zurmo::t($moduleName, 'Select a template')); $parentHtmlOptions = parent::getEditableHtmlOptions(); $htmlOptions = CMap::mergeArray($parentHtmlOptions, $prompt); return $htmlOptions; }