NAME

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

SYNOPSIS

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

DESCRIPTION

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

This fld also has two parameters that is specified in the $data hash passed to the constructor (se 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 supercleasses (DBIx::HTMLView::Fld, DBIx::HTMLView::Field, DBIx::HTMLView::Str) there is also the following methods.

METHODS

$fld->width

Returns the witdh in characres of the default edit_html editor.

$fld->height

Returns the height in characres of the default edit_html editor.