Синхронизировал частично с CMS2
This commit is contained in:
parent
6b412f5d6f
commit
f2938b1353
30 changed files with 1447 additions and 1099 deletions
|
|
@ -2,17 +2,23 @@
|
|||
|
||||
/**
|
||||
* Элемент формы
|
||||
* @package core
|
||||
*/
|
||||
class TField
|
||||
{
|
||||
public $hidden = false;
|
||||
public $name;
|
||||
public $label; // Метка поля
|
||||
public $value; // Значение поля
|
||||
public $type; // Каждому типу элемента соответствует макрос TAL
|
||||
public $type = ""; // Каждому типу элемента соответствует макрос TAL
|
||||
public $error_msg = null;
|
||||
public $default = null;
|
||||
public $error = false;
|
||||
public $require = false;
|
||||
public $hint = null;
|
||||
// Блоки (Убрать в отдельный класс!!!)
|
||||
public $_title = array();
|
||||
public $description = "";
|
||||
public $alias = array();
|
||||
|
||||
public function __construct ($input)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue