Actions

API17

Difference between revisions of "JFolder::makeSafe"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JFolder::makeSafe|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JFolder::makeSafe|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JFolder::makeSafe ($path)
+
public static function makeSafe ($path)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|string
 
|string
 
|
 
|
|The full path to sanitise.  
+
|The full path to sanitise.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The sanitised string.
string The sanitised string.
+
* '''Defined''' on line 645 of libraries/joomla/filesystem/folder.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/folder.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JFolder::makeSafe source code''' on [[jplatform:filesystem/folder.php#cl-637|BitBucket]]
 +
* {{JVer|11.1}} Class [[JFolder/11.1|JFolder]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
 +
* [[JFolder::makeSafe|Other versions of JFolder::makeSafe]]
 +
{{SeeAlso:JFolder::makeSafe}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFolder::makeSafe|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JFolder::makeSafe|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JFolder/11.1|JFolder]]
+
===User contributed notes===
* [[JFolder::makeSafe|Other versions of this method]]
+
{{SeeAlso:JFolder::makeSafe}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JFolder]][[Category:JFolder::makeSafe]]</noinclude>
 
<noinclude>[[Category:JFolder]][[Category:JFolder::makeSafe]]</noinclude>

Revision as of 20:58, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JFolder::makeSafe

Description

Makes path name safe to use.

Description:JFolder::makeSafe [Edit Descripton]

public static function makeSafe ($path)
Parameter Type Default Description
$path string The full path to sanitise.
  • Returns string The sanitised string.
  • Defined on line 645 of libraries/joomla/filesystem/folder.php
  • Since Joomla 11.1

See also

SeeAlso:JFolder::makeSafe [Edit See Also]

User contributed notes

<CodeExamplesForm />