summaryrefslogtreecommitdiff
path: root/modules/forge/libraries/Form_Hidden.php
blob: 8af2e6740d71e51892c56282ea94ab7c529d9714 (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
<?php defined("SYSPATH") or die("No direct script access.");
/**
 * FORGE hidden input library.
 *
 * $Id$
 *
 * @package    Forge
 * @author     Kohana Team
 * @copyright  (c) 2007-2008 Kohana Team
 * @license    http://kohanaphp.com/license.html
 */
class Form_Hidden_Core extends Form_Input {

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

	public function render()
	{
		return form::hidden($this->data['name'], $this->data['value']);
	}

} // End Form Hidden