root/trunk/modules/forge/libraries/Form_Textarea.php

Revision 1923, 0.5 kB (checked in by Shadowhand, 5 months ago)

Added comments for Forge and Form_Input (other files don't need comments, they are all extensions), and set properties.

  • Property svn:eol-style set to LF
  • Property copyright set to Copyright (c) 2007-2008 Kohana Team
  • Property svn:keywords set to Id
Line 
1 <?php defined('SYSPATH') or die('No direct script access.');
2 /**
3  * FORGE textarea input library.
4  *
5  * $Id$
6  *
7  * @package    Forge
8  * @author     Kohana Team
9  * @copyright  (c) 2007-2008 Kohana Team
10  * @license    http://kohanaphp.com/license.html
11  */
12 class Form_Textarea_Core extends Form_Input {
13
14     protected $data = array
15     (
16         'class' => 'textarea',
17         'value' => '',
18     );
19
20     protected $protect = array('type');
21
22     protected function html_element()
23     {
24         $data = $this->data;
25
26         unset($data['label']);
27
28         return form::textarea($data);
29     }
30
31 } // End Form Textarea
Note: See TracBrowser for help on using the browser.