mirror of
https://github.com/Oreolek/kangana.git
synced 2024-07-02 22:55:04 +03:00
20 lines
400 B
PHP
20 lines
400 B
PHP
<?php defined('SYSPATH') or die('No direct script access.');
|
|
|
|
/**
|
|
* Common control layout view
|
|
**/
|
|
class View_Form_Control {
|
|
public $name; //field name
|
|
public $value; //default value
|
|
public $label; //field label
|
|
public $_view; //template to use
|
|
/**
|
|
* Field ID. Convention is '<field type>-<field name>'.
|
|
* @retval string ID
|
|
**/
|
|
public function id()
|
|
{
|
|
return $name;
|
|
}
|
|
}
|