+ /**
+ * [get_pquery_result description]
+ * @return [type] [description]
+ */
+ public function get_pquery_result()
+ {
+ $rt_val = $this->current_result = $this->current_stmt->get_result();
+ if (!$rt_val) {
+ echo "Fail to fill SQL query result : (" . $this->current_stmt->errno . ") " . $this->current_stmt->error . " - " . $this->current_pquery . "<br>";
+ }
+ return $rt_val;
+ }
+
+ /**
+ * [get_result_array description]
+ * @return [type] [description]
+ */
+ public function get_result_array()
+ {
+ $row = $this->current_result->fetch_array();
+ if (is_null($row)) {
+ $rt_val = [];
+ } elseif (!isset($row)) {
+ echo "Fail to build SQL query result array : (" . $this->current_stmt->errno . ") " . $this->current_stmt->error . " - " . $this->current_pquery . "<br>";
+ $rt_val = false;
+ } else {
+ $rows[] = $row;
+ while ($row = $this->current_result->fetch_array()) {
+ $rows[] = $row;
+ }
+ $rt_val = $rows;
+ }
+ return $rt_val;
+ }
+