JStream::delete
Delete a file
Signature
public function delete(string
$filename,
[resource
$context = null,
[boolean
$use_prefix = true,
[boolean
$relative = false]]] )
Parameters
-
$filename
- The file path to delete.
-
$context
- A valid context resource (optional) created with stream_context_create.
-
$use_prefix
- Controls the use of a prefix (optional).
-
$relative
- Determines if the filename given is relative. Relative paths do not have JPATH_ROOT stripped.
Returns
- mixed