noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 82/219: Fix Doxygen issue : @example must be


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 82/219: Fix Doxygen issue : @example must be in a function otherwise the detailed section of Doxygen disappear
Date: Mon, 18 Dec 2017 13:22:42 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 3ab3cf984eff917421cdd36f1fdc73be51d69a8a
Author: Dany De Bontridder <address@hidden>
Date:   Sun Oct 15 00:54:27 2017 +0200

    Fix Doxygen issue : @example must be in a function otherwise the detailed 
section of Doxygen disappear
---
 include/lib/http_input.class.php       |  1 +
 include/lib/manage_table_sql.class.php | 20 +++++++++++---------
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/include/lib/http_input.class.php b/include/lib/http_input.class.php
index f2b71b6..db04220 100644
--- a/include/lib/http_input.class.php
+++ b/include/lib/http_input.class.php
@@ -38,6 +38,7 @@ class HttpInput
      * @param $p_name name of the variable
      * @param $p_type type of the variable (number,string,date,array)
      * @throws Exception if the variable doesn't exist or type incorrect
+     * @todo Add regex:pattern
      */
     function check_type($p_name, $p_type)
     {
diff --git a/include/lib/manage_table_sql.class.php 
b/include/lib/manage_table_sql.class.php
index b428d8e..4ba1142 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -18,17 +18,17 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 // Copyright Author Dany De Bontridder address@hidden
-///@file
-///@brief Definition Manage_Table_SQL
+/*!\file
+ * \brief Definition Manage_Table_SQL
+ *
+ */
 
-/**
- * @brief Purpose is to propose a librairy to display a table content
+/*!\brief Purpose is to propose a librairy to display a table content
  * and allow to update and delete row , handle also the ajax call 
  * thanks the script managetable.js
-
  * 
  * Code for ajax , here we see the ajax_input for creating a dg box 
-  @code
+  \code
   $objet->set_pk($p_id);
   $objet->set_object_name($objet_name);
 
@@ -55,9 +55,9 @@
     echo $xml->save_XML();
   @endcode
  * @see ManageTable.js
+ * 
  */
-///@example test_manage_table_sql.php
-/// For ajax @example ajax_manage_table_sql.php
+
 class Manage_Table_SQL
 {
 
@@ -85,6 +85,8 @@ class Manage_Table_SQL
      * @brief Constructor : set the label to the column name,
      * the order of the column , set the properties and the
      * permission for updating or deleting row
+     * @example test_manage_table_sql.php 
+     * @example ajax_manage_table_sql.php
      */
 
     function __construct(Data_SQL $p_table)
@@ -694,7 +696,7 @@ function check()
             $js=sprintf("%s.delete('%s','%s');", $this->object_name,
                     $p_row[$this->table->primary_key], $this->object_name
             );
-            echo HtmlInput::image_click("delete.gif", $js, _("Effacer"));
+            echo HtmlInput::image_click("trash-24.gif", $js, _("Effacer"));
             echo "</td>";
         }
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]