/** * 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 input($column = 0, array $attributes = array()) { if (isset($attributes['name'])) { $name = $attributes['name']; $attributes['value'] = '${' . $name . '}'; $attributes['name'] .= '][${context}'; } parent::input($column, $attributes); }
public function input($column = 0, array $attributes = array()) { $this->multifield($attributes); parent::input($column, $attributes); }