Location: PHPKode > projects > lowbatCMS > lowbatcms/class/xtextfield.class.php
<?php
/**************************************************************************\
* lowbatCMS - a test application				                                   *
* Written and (c) 2006 by Samuel Talleux<hide@address.com>					 *
* --------------------------------------------                             *
*  This program is free software; you can redistribute it and/or modify it *
*  under the terms of the GNU General Public License as published by the   *
*  Free Software Foundation; either version 2 of the License, or (at your  *
*  option) any later version.                                              *
***************************************************************************/
/**
 * This extends a textfield by the 'textarea'-flag
 * @param $textarea if true the text should be edited in textare instead of <input typ="text">
 */

/* 
class XTextField extends TextField{
    function XTextField($name, $value = '', $length = 0, $nul = true, $deflt = '', $textarea = false) {
    	parent::TextField($name, $value = '', $length = 0, $nul = true, $deflt = '');
    	$this->setTextarea($textarea);
    }
    /** @var bool gives whether the text should be edited in textare instead of <input typ="text"> */
    /* private */ /* var $txtarea;
    /* public */ /* function &getTextarea(){
    	return $this->$txtarea;
    }
    /* public */ /* function setTextarea($value){
    	$this->$txtarea = $value;
    }
}
*/
?>
Return current item: lowbatCMS