[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/05: New function manage_table::set_table,
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/05: New function manage_table::set_table, and manage_table::delete |
Date: |
Wed, 20 Dec 2017 04:42:23 -0500 (EST) |
sparkyx pushed a commit to annotated tag rel6919.3
in repository noalyss.
commit 85566da94c911ac9cb16fb61d91a88e734816e75
Author: Dany De Bontridder <address@hidden>
Date: Wed Jul 5 10:33:39 2017 +0200
New function manage_table::set_table, and manage_table::delete
---
include/lib/class_manage_table_sql.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/lib/class_manage_table_sql.php
b/include/lib/class_manage_table_sql.php
index 2a9bb39..bc8c453 100644
--- a/include/lib/class_manage_table_sql.php
+++ b/include/lib/class_manage_table_sql.php
@@ -102,6 +102,9 @@ class Manage_Table_SQL
function get_table() {
return $this->table;
}
+ function set_table(Noalyss_SQL $p_noalyss_sql) {
+ $this->table=$p_noalyss_sql;
+ }
/**
* @brief set the error message for a wrong input
* @param $p_col the column name
@@ -784,7 +787,7 @@ class Manage_Table_SQL
$xml=new DOMDocument('1.0', "UTF-8");
try
{
- $this->table->delete();
+ $this->delete();
$status="OK";
$s1=$xml->createElement("status", $status);
$ctl=$this->object_name."_".$this->table->get_pk_value();
- [Noalyss-commit] [noalyss] annotated tag rel6919.3 created (now 80f7a68), Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 02/05: Improve debug, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 03/05: Improve Manage_Table : add icon, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 04/05: HtmlInput::button_action: add icon , htmlInput : add documentation, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 01/05: Manage_SQL : improve cosmetic + add error function, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 05/05: New function manage_table::set_table, and manage_table::delete,
Dany De Bontridder <=