File path: dist/twist/Core/Utilities/Archive.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
addItem
— Decides how to deal with the path being entered into the zip
Name | Description |
---|---|
$dirLocalPath | n/a |
[$strCurrentPath = ''] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirLocalPath = '/home/user/public_html/twist';
$strCurrentPath = '';
//Call the function addItem with the example vars
Twist::Archive() -> addItem($dirLocalPath, $strCurrentPath);