[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 07/07: New function manage_table::set_table,
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 07/07: New function manage_table::set_table, and manage_table::delete |
Date: |
Wed, 5 Jul 2017 15:01:30 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1d5550713f12f16876b1bffedeeca61dbbc778cc
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 f4d5139..0ea82c7 100644
--- a/include/lib/class_manage_table_sql.php
+++ b/include/lib/class_manage_table_sql.php
@@ -103,6 +103,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
@@ -785,7 +788,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] branch master updated (a24821c -> 1d55507), Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 04/07: Improve debug, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 02/07: Typo, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 07/07: New function manage_table::set_table, and manage_table::delete,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/07: Improve Manage_Table : add icon, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 01/07: Typo, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 06/07: HtmlInput::button_action: add icon , htmlInput : add documentation, Dany De Bontridder, 2017/07/05
- [Noalyss-commit] [noalyss] 03/07: Manage_SQL : improve cosmetic + add error function, Dany De Bontridder, 2017/07/05