@@ -570,9 +570,13 @@ class SQL_Backup extends FILES {
570570 * @var bool $save Output saved in a file or outputed as string.
571571 * @var bool $sql_unique Output (sql) unified in a unique file/query.
572572 * @var bool $down Output automatic downloaded.
573+ * @var bool $header_name If is set true and the output is csv add the fields name at first row.
574+ * @var string $del_csv The optional delimiter parameter sets the field delimiter (one character only) (used in csv output).
575+ * @var string $enc_csv The optional enclosure parameter sets the field enclosure (one character only) (used in csv output).
576+ * @var int $json_options JSON_ENCODE OPTION.
573577 **/
574578
575- function __construct ($ con = null , $ table_name = null , $ ext = null , $ fname = null , $ folder = null , $ query_limit = null , $ archive = null , $ phpmyadmin = null , $ save = null , $ sql_unique = null , $ down = null ) {
579+ function __construct ($ con = null , $ table_name = null , $ ext = null , $ fname = null , $ folder = null , $ query_limit = null , $ archive = null , $ phpmyadmin = null , $ save = null , $ sql_unique = null , $ down = null , $ header_name = null , $ del_csv = null , $ enc_csv = null , $ json_options = null ) {
576580 parent ::__construct ();
577581 $ this ->con = $ con ;
578582 $ this ->table_name = $ table_name ;
@@ -585,6 +589,10 @@ function __construct($con = null, $table_name = null, $ext = null, $fname = null
585589 $ this ->save = $ save ;
586590 $ this ->down = $ down ;
587591 $ this ->sql_unique = $ sql_unique ;
592+ $ this ->header_name = $ header_name ;
593+ $ this ->del_csv = $ del_csv ;
594+ $ this ->enc_csv = $ enc_csv ;
595+ $ this ->json_options = $ json_options ;
588596 }
589597
590598 /**
0 commit comments