API17

Difference between revisions of "JPath::find"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JPath::find|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JPath::find|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JPath::find ($paths, $file)
+
public static function find (
 +
        $paths
 +
        $file
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed The full path and file name for the target file, or boolean false if the file is not found in any of the paths.
mixed The full path and file name for the target file, or boolean false if the file is not found in any of the paths.
+
* '''Defined''' on line 229 of libraries/joomla/filesystem/path.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/path.php (line 226)
+
* '''Referenced by'''
* see source code in [[jplatform:filesystem/path.php#cl-226|BitBucket]]
+
** [[API17:JHtml::_|JHtml::_]]
===Referenced by===
+
** [[API17:JController::createView|JController::createView]]
* [[JHtml::_/11.1|JHtml::_]]
+
** [[API17:JTable::getInstance|JTable::getInstance]]
* [[JController::createView/11.1|JController::createView]]
+
** [[API17:JCacheStorage::getInstance|JCacheStorage::getInstance]]
* [[JTable::getInstance/11.1|JTable::getInstance]]
+
** [[API17:JModel::getInstance|JModel::getInstance]]
* [[JCacheStorage::getInstance/11.1|JCacheStorage::getInstance]]
+
** [[API17:JCacheController::getInstance|JCacheController::getInstance]]
* [[JModel::getInstance/11.1|JModel::getInstance]]
+
** [[API17:JToolBar::loadButtonType|JToolBar::loadButtonType]]
* [[JCacheController::getInstance/11.1|JCacheController::getInstance]]
+
** [[API17:JFormHelper::loadClass|JFormHelper::loadClass]]
* [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
+
** [[API17:JParameter::loadElement|JParameter::loadElement]]
* [[JFormHelper::loadClass/11.1|JFormHelper::loadClass]]
+
** [[API17:JForm::loadFile|JForm::loadFile]]
* [[JParameter::loadElement/11.1|JParameter::loadElement]]
+
** [[API17:JView::loadHelper|JView::loadHelper]]
* [[JForm::loadFile/11.1|JForm::loadFile]]
+
** [[API17:JView::loadTemplate|JView::loadTemplate]]
* [[JView::loadHelper/11.1|JView::loadHelper]]
 
* [[JView::loadTemplate/11.1|JView::loadTemplate]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JPath::find source code''' on [[jplatform:filesystem/path.php#cl-221|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JPath|JPath]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
 +
* [[API17:JPath::find|Other versions of JPath::find]]
 +
{{SeeAlso:JPath::find}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JPath::find|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JPath::find|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JPath/11.1|JPath]]
+
===User contributed notes===
* [[JPath::find|Other versions of this method]]
 
{{SeeAlso:JPath::find}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 65: Line 65:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JPath]][[Category:JPath::find]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:19, 11 May 2013

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 JPath::find[edit]

Description[edit]

Searches the directory paths for a given file.

Template:Description:JPath::find [Edit Descripton]

public static function find (
        $paths
        $file
)
Parameter Type Default Description
$paths string An path or array of path to search in
$file string The file name to look for.

See also[edit]

Template:SeeAlso:JPath::find [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />