.

InputWidgetTextareaBase Class Reference
[View]

A text area. More...

Inheritance diagram for InputWidgetTextareaBase:
InputWidgetBase InputWidgetBaseBase IWidget IRenderer InputWidgetTextarea

List of all members.

Protected Member Functions

  extend_attributes (&$attrs, $params, $name, $title, $value, $policy)
  Add new attributes or process old ones.
  render_input ($attrs, $params, $name, $title, $value, $policy)
  Render the actual widget.

Detailed Description

A text area.

Author:
Gerd Riesselmann

Definition at line 8 of file textarea.input.widget.php.


Member Function Documentation

InputWidgetTextareaBase::extend_attributes ( &$  attrs,
params,
name,
title,
value,
policy  
) [protected]

Add new attributes or process old ones.

Reimplemented from InputWidgetBaseBase.

Definition at line 12 of file textarea.input.widget.php.

00012                                                                                                {
00013                 $attrs['name'] = $name;
00014                 $attrs['rows'] = Arr::get_item($params, 'rows', 5);
00015                 $attrs['cols'] = Arr::get_item($params, 'cols', 10);    
00016         }
InputWidgetTextareaBase::render_input ( attrs,
params,
name,
title,
value,
policy  
) [protected]

Render the actual widget.

Reimplemented from InputWidgetBaseBase.

Definition at line 21 of file textarea.input.widget.php.

00021                                                                                          {
00022                 return html::tag('textarea', String::escape($value), $attrs);
00023         }       

The documentation for this class was generated from the following file: