Пример #1
0
 /**
  * Renders a text input
  *
  * @author Jonathan Davis
  * @since 1.1
  *
  * @param int $column The table column to add the element to
  * @param array $attributes Element attributes; requires a 'name' attribute
  *
  * @return void
  **/
 public function textarea($column = 0, array $attributes = array())
 {
     if (isset($attributes['name'])) {
         $name = $attributes['name'];
         $attributes['value'] = '${' . $name . '}';
         $attributes['name'] .= '][${context}';
     }
     parent::textarea($column, $attributes);
 }
Пример #2
0
 public function textarea($column = 0, array $attributes = array())
 {
     $this->multifield($attributes);
     parent::textarea($column, $attributes);
 }