NAME

DBIx::HTMLView::Text - A multi line string filed

SYNOPSIS

$fld=$post->fld('testf');
print $fld->view_html;

DESCRIPTION

This is a subclass of DBIx::HTMLView::Str used to represent larger texts. The main difference from a Str is that the default edit_html editor uses a <textarea>...</textarea> construct instead of an <input ...> tag.

This fld also has two parameters that are specified in the $data hash passed to the constructor (see the DBIx::HTMLView::Fld manpage). They are 'width', the width of the <textarea> editor in characters (defaults is 80) and 'height', the height of the <textarea> editor in characters (default is 50).

Except for the methods described in the superclasses (DBIx::HTMLView::Fld, DBIx::HTMLView::Field, DBIx::HTMLView::Str) there are also the following methods.

METHODS

$fld->width

Returns the witdh in characters of the default edit_html editor.

$fld->height

Returns the height in characters of the default edit_html editor.