Location: PHPKode > projects > Recess PHP Framework > recess/recess/framework/forms/TextInput.class.php
<?php
Library::import('recess.framework.forms.FormInput');
class TextInput extends FormInput {
	function render() {
		echo '<input type="text" name="', $this->name, '"', ' id="' . $this->name . '"';
		if($this->class != '') {
			echo ' class="', $this->class, '"';
		}
		
		if($this->value != '') {
			echo ' value="', $this->value, '"';
		}
		echo ' />';
	}
}
?>
Return current item: Recess PHP Framework