JFile::makeSafe
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.
JFile::makeSafe[edit]
Description[edit]
Makes file name safe to use.
Template:Description:JFile::makeSafe [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFile::makeSafe ($file)
Parameter | Type | Default | Description |
---|---|---|---|
$file | string | The name of the file [not full path] |
Returns[edit]
string The sanitised string
Defined in[edit]
libraries/joomla/filesystem/file.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JFile::makeSafe
Examples[edit]
<CodeExamplesForm />