summaryrefslogtreecommitdiff
path: root/modules/forge/libraries/Form_Textarea.php
blob: 5d83d0d30eaf4d0f6cd1bb0838d7bb6619a9e63c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php defined("SYSPATH") or die("No direct script access."); 
/**
 * FORGE textarea input library.
 *
 * $Id$
 *
 * @package    Forge
 * @author     Kohana Team
 * @copyright  (c) 2007-2008 Kohana Team
 * @license    http://kohanaphp.com/license.html
 */
class Form_Textarea_Core extends Form_Input {

	protected $data = array
	(
		'class' => 'textarea',
		'value' => '',
	);

	protected $protect = array('type');

	protected function html_element()
	{
		$data = $this->data;

		unset($data['label']);

		return form::textarea($data);
	}

} // End Form Textarea