|
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 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 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 |
} |
|---|