/**
  * @return array
  */
 protected function getEditableHtmlOptions()
 {
     $htmlOptions = parent::getEditableHtmlOptions();
     if (isset($htmlOptions['class'])) {
         $htmlOptions['class'] .= ' actionAttributeType';
     } else {
         $htmlOptions['class'] = 'actionAttributeType';
     }
     return $htmlOptions;
 }
コード例 #2
0
 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;
 }