add_dir($directory)
Parameters: |
|
---|---|
Return type: |
void |
Permits you to add a directory. Usually this method is unnecessary since you can place your data into directories when using $this->zip->add_data()
, but if you would like to create an empty directory you can do so:
$this->zip->add_dir('myfolder'); // Creates a directory called "myfolder"
Please login to continue.