API17

JStream::delete

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JStream::delete[edit]

Description[edit]

Delete a file.


public function delete (
        $filename
        $context=null
        $use_prefix=true
        $relative=false
)
Parameter Type Default Description
$filename string
$context $context null
$use_prefix boolean true $user_prefix
$relative boolean false $relative
  • Returns mixed
  • Defined on line 1190 of libraries/joomla/filesystem/stream.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]