From 232aa1924c8c0f10d87b210b46c9f061af5c844c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 17 Oct 2010 13:29:57 +0000 Subject: added files --- h-source/Application/Models/ParamsModel.php | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 h-source/Application/Models/ParamsModel.php (limited to 'h-source/Application/Models/ParamsModel.php') diff --git a/h-source/Application/Models/ParamsModel.php b/h-source/Application/Models/ParamsModel.php new file mode 100644 index 0000000..d1347fe --- /dev/null +++ b/h-source/Application/Models/ParamsModel.php @@ -0,0 +1,41 @@ +. + +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' + ) + ), + ); +} \ No newline at end of file -- cgit v1.2.3