Source for file jFormsControlTextarea.class.php

Documentation is available at jFormsControlTextarea.class.php

  1. <?php
  2. /**
  3. @package     jelix
  4. @subpackage  forms
  5. @author      Laurent Jouanneau
  6. @contributor Loic Mathaud
  7. @copyright   2006-2010 Laurent Jouanneau
  8. @copyright   2007 Loic Mathaud
  9. @link        http://www.jelix.org
  10. @licence     http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
  11. */
  12.  
  13. /**
  14.  *
  15.  * @package     jelix
  16.  * @subpackage  forms
  17.  */
  18. class jFormsControlTextarea extends jFormsControl {
  19.     public $type='textarea';
  20.     public $rows=5;
  21.     public $cols=40;
  22.     
  23.     /**
  24.      * @since 1.2
  25.      */
  26.     public function isHtmlContent({
  27.         return ($this->datatype instanceof jDatatypeHtml);
  28.     }
  29. }

Documentation generated on Wed, 04 Jan 2017 22:54:55 +0100 by phpDocumentor 1.4.3