public function all($option = "") { global $database; $option["column_array"] = ["*"]; $select = new select(); $sql = $select->build_select_all_sql(self::get_table(), $option); $row = $database->fetch($sql); return $row; }
public function all($option = "") { global $database; $option["column_array"] = ["*"]; $select = new select(); $sql = $select->build_select_all_sql(self::get_table(), $option); $row = $database->fetch($sql); return $row; }