|
Revision 2227, 483 bytes
(checked in by Shadowhand, 4 months ago)
|
Fixing a bug in Forge that caused Form_Hidden to produce unnecessary inputs.
|
- 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_Hidden_Core extends Form_Input { |
|---|
| 13 |
|
|---|
| 14 |
protected $data = array |
|---|
| 15 |
( |
|---|
| 16 |
'name' => '', |
|---|
| 17 |
'value' => '', |
|---|
| 18 |
); |
|---|
| 19 |
|
|---|
| 20 |
public function render() |
|---|
| 21 |
{ |
|---|
| 22 |
return form::hidden($this->data['name'], $this->data['value']); |
|---|
| 23 |
} |
|---|
| 24 |
|
|---|
| 25 |
} |
|---|