You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> NOTE: If you use the CSV extension, if you want you can add the field delimiter and the enclosure of the camps.
430
-
By default they are:
431
-
- Delimiter => ,
432
-
- Enclosure => "
433
-
434
-
>Example: "Data","DATA2","datA3"
435
-
436
-
``` php
437
-
$backup->del_csv=";";
438
-
$backup->enc_csv="'";
439
-
```
440
-
441
-
### $_alltable_in_file_ (_Bool_)
442
-
443
-
If set to TRUE:
444
-
445
-
- If the 'compress' variable is true all the files will be saved in a single zip file otherwise all will be saved individually.
446
-
447
-
- If the 'compress' variable is false all the files will be saved into a single folder (Depending on the extension. Example Choose SQL extension dir/sql/name_file) or else each file will be saved individually.
448
-
449
-
``` php
450
-
$backup->alltable_in_file = true;
451
-
```
452
-
453
-
454
-
### $_save_ (_Bool_)
455
-
456
-
If set to FALSE, the result will not be saved but will be loaded on the variable of Class sql, csv, json (**ARRAY**)
457
-
458
-
EXAMPLE
459
-
460
-
SQL:
461
-
462
-
object(SQL_Backup)[1]
463
-
464
-
...
465
-
public 'sql' =>
466
-
array (size=1)
467
-
'name_table' => string '...'
468
-
469
-
470
-
### $_sql_unique_ (_Bool_)
471
-
472
-
If set to true the SQL dump is a single file with all the tables. (Valid only for the SQL format)
473
-
474
-
> Table 1 SQL + Table 2 SQL + ETC.
475
-
476
-
## In V 1.0.5
477
-
478
-
Added:
479
-
480
-
### $_close_ (_Bool_)
481
-
482
-
If set to true, at the end of operations the MySQL connection is closed otherwise the connection will be allowed in the class.
483
-
484
-
### $_json_pretty_ (_Bool_)
485
-
486
-
If set to true, the output of the json will be like this:
0 commit comments