summaryrefslogtreecommitdiff
path: root/modules/forge/libraries/Form_Textarea.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 09:22:32 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 09:22:32 +0000
commit93977e579cca9a9d0df28099e1fb7596bcc1c825 (patch)
tree6968d4a9f4a3cadb332e23e8e807748eccd25deb /modules/forge/libraries/Form_Textarea.php
parent4fe895a2c473cd22e4741552186fe2be48503167 (diff)
Refresh of Forge r168 from vendor/forge/modified
Diffstat (limited to 'modules/forge/libraries/Form_Textarea.php')
-rw-r--r--modules/forge/libraries/Form_Textarea.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/forge/libraries/Form_Textarea.php b/modules/forge/libraries/Form_Textarea.php
new file mode 100644
index 00000000..f6d28fd0
--- /dev/null
+++ b/modules/forge/libraries/Form_Textarea.php
@@ -0,0 +1,31 @@
+<?php
+/**
+ * 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 \ No newline at end of file