API17

Difference between revisions of "JFile::makeSafe"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 30: Line 30:
 
string The sanitised string
 
string The sanitised string
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/file.php
+
libraries/joomla/filesystem/file.php (line 60)
 +
* see source code in [[jplatform:filesystem/file.php#cl-60|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:31, 23 April 2011

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 JFile::makeSafe[edit]

Description[edit]

Makes file name safe to use.

Template:Description:JFile::makeSafe [Edit Descripton]

Since[edit]

Joomla 11.1

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 (line 60)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JFile::makeSafe

Examples[edit]

<CodeExamplesForm />