Actions

API17

Difference between revisions of "JPath::find"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
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]]
+
** [[JHtml::_/11.1|JHtml::_]]
===Referenced by===
+
** [[JController::createView/11.1|JController::createView]]
* [[JHtml::_/11.1|JHtml::_]]
+
** [[JTable::getInstance/11.1|JTable::getInstance]]
* [[JController::createView/11.1|JController::createView]]
+
** [[JCacheStorage::getInstance/11.1|JCacheStorage::getInstance]]
* [[JTable::getInstance/11.1|JTable::getInstance]]
+
** [[JModel::getInstance/11.1|JModel::getInstance]]
* [[JCacheStorage::getInstance/11.1|JCacheStorage::getInstance]]
+
** [[JCacheController::getInstance/11.1|JCacheController::getInstance]]
* [[JModel::getInstance/11.1|JModel::getInstance]]
+
** [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
* [[JCacheController::getInstance/11.1|JCacheController::getInstance]]
+
** [[JFormHelper::loadClass/11.1|JFormHelper::loadClass]]
* [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
+
** [[JParameter::loadElement/11.1|JParameter::loadElement]]
* [[JFormHelper::loadClass/11.1|JFormHelper::loadClass]]
+
** [[JForm::loadFile/11.1|JForm::loadFile]]
* [[JParameter::loadElement/11.1|JParameter::loadElement]]
+
** [[JView::loadHelper/11.1|JView::loadHelper]]
* [[JForm::loadFile/11.1|JForm::loadFile]]
+
** [[JView::loadTemplate/11.1|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 [[JPath/11.1|JPath]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
 +
* [[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:JPath]][[Category:JPath::find]]</noinclude>

Revision as of 20:29, 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 JPath::find

Description

Searches the directory paths for a given file.

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

SeeAlso:JPath::find [Edit See Also]

User contributed notes

<CodeExamplesForm />