TwistPHP Documentation

deleteName

File path: dist/twist/Core/Models/Archive/Native.model.php
Namespace: Twist\Core\Models\Archive
Extends:

deleteNameDelete a file or folder form the archive by its path.

Parameters

Name Type Description
$strDirectoryPathstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strDirectoryPath 'foo';

//Call the function deleteName with the example vars
$resNative = new \Twist\Core\Models\Archive\Native();
$resNative -> deleteName($strDirectoryPath);