. if (!defined('EG')) die('Direct access not allowed!'); class ParamsModel extends Model_Tree { public function __construct() { $this->_tables = 'params'; $this->_idFields = 'id_par'; parent::__construct(); } public $formStruct = array( 'entries' => array( 'updating' => array( 'type'=>'Select', 'options'=>'no,yes', ), 'id_par' => array( 'type' => 'Hidden' ) ), ); }