From 9ed19b021801c164d17d2ac55bed7f6f9b46adc3 Mon Sep 17 00:00:00 2001 From: Rachel Date: Tue, 10 Jan 2017 17:04:05 +0100 Subject: [PATCH] Add property in Manage_Table VISIBLE UPDATABLE Signed-off-by: Dany De Bontridder --- include/database/class_manage_table_sql.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/database/class_manage_table_sql.php b/include/database/class_manage_table_sql.php index 7d210899c..4cfb103f0 100644 --- a/include/database/class_manage_table_sql.php +++ b/include/database/class_manage_table_sql.php @@ -21,6 +21,10 @@ class Manage_Table_SQL { private $table ; private $a_label_displaid; + private $a_order; //!< order + private $a_prop ; //!< property + const UPDATABLE=1; + const VISIBLE=2; function __construct(Noalyss_SQL $p_table) { $this->table=$p_table; @@ -30,6 +34,7 @@ class Manage_Table_SQL $this->a_label_displaid[$value]=$value; $this->a_order[$order]=$value; + $this->a_prop[$value]=self::UPDATABLE|self::VISIBLE; $order++; }