<?php
/**
 * @package     jelix
 * @subpackage  forms
 *
 * @author      Laurent Jouanneau
 * @contributor Loic Mathaud
 *
 * @copyright   2006-2010 Laurent Jouanneau
 * @copyright   2007 Loic Mathaud
 *
 * @see        http://www.jelix.org
 * @licence     http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
 */

/**
 * @package     jelix
 * @subpackage  forms
 */
class jFormsControlTextarea extends jFormsControl
{
    public $type = 'textarea';
    public $rows = 5;
    public $cols = 40;

    /**
     * @since 1.2
     */
    public function isHtmlContent()
    {
        return $this->datatype instanceof jDatatypeHtml;
    }
}
