API17

API17:JFile::makeSafe

From Joomla! Documentation

Revision as of 01:56, 28 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

Joomla 11.1 JFile::makeSafe

Description

Makes file name safe to use.

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

public static function makeSafe ($file)
Parameter Type Default Description
$file string The name of the file [not full path]
  • Returns string The sanitised string
  • Defined on line 60 of libraries/joomla/filesystem/file.php
  • Since Joomla 11.1

See also

Template:SeeAlso:JFile::makeSafe [Edit See Also]

User contributed notes

<CodeExamplesForm />