Code cleanups and comments
[Project_webapp.git] / lib / db.php
index 1a870c49f118e285c2fafcaa22178f53372c482a..9d967d6dd4bbec29ff9d54b1acd9cf6aa33cc9cb 100644 (file)
@@ -57,7 +57,7 @@ class CustomDB
     /**
      * query method that permit to execute a SQL query
      * @param  string $sql_query the SQL query to execute
-     * @return mysqli_result object or FALSE on failure and TRUE for queries
+     * @return object mysqli_result or FALSE on failure and TRUE for queries
      * without results
      */
     public function query($sql_query)
@@ -114,8 +114,8 @@ class CustomDB
     }
 
     /**
-     * [get_pquery_result description]
-     * @return [type] [description]
+     * get_pquery_result method to get the resultset of parametrized SQL query
+     * @return object mysqli_result resultset or FALSE for other DML queries or on failure
      */
     public function get_pquery_result()
     {