Example #1
0
 public function renderField()
 {
     if (!$this->is_display) {
         return '';
     }
     $format = $this->format ? $this->format : $this->name_form . '[' . $this->name . ']';
     $id = $this->id ? $this->id : $this->name_form . '_' . $this->name;
     return \Kodazzi\Helper\FormHtml::textarea($format, $this->value, 40, 10, array('id' => $id, 'class' => 'editor ' . $this->getClassCss(), 'disabled' => $this->isDisabled(), 'readonly' => $this->isReadonly()));
 }