API17:JStream:: getFilename
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JStream::_getFilename|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JStream::_getFilename|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function _getFilename ( |
| + | $filename | ||
| + | $mode | ||
| + | $use_prefix | ||
| + | $relative | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 42: | Line 44: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 1285 of libraries/joomla/filesystem/stream.php | |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filesystem/stream.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JStream::_getFilename source code''' on [[jplatform:filesystem/stream.php#cl-1277|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JStream/11.1|JStream]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
| + | * [[JStream::_getFilename|Other versions of JStream::_getFilename]] | ||
| + | {{SeeAlso:JStream::_getFilename}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JStream::_getFilename|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JStream::_getFilename|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 63: | Line 64: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JStream]][[Category:JStream::_getFilename]]</noinclude> | <noinclude>[[Category:JStream]][[Category:JStream::_getFilename]]</noinclude> | ||
Revision as of 21:42, 27 April 2011
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.
JStream::_getFilename
Description
Determine the appropriate 'filename' of a file.
Description:JStream:: getFilename [Edit Descripton]
public function _getFilename ( $filename $mode $use_prefix $relative )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $filename | string | Original filename of the file | |
| $mode | string | Mode string to retrieve the filename | |
| $use_prefix | boolean | Controls the use of a prefix | |
| $relative | boolean | Determines if the filename given is relative. Relative paths do not have JPATH_ROOT stripped. |
See also
-
JStream::_getFilename source code on BitBucket
-
Class JStream
-
Subpackage Filesystem
- Other versions of JStream::_getFilename
SeeAlso:JStream:: getFilename [Edit See Also]
User contributed notes
<CodeExamplesForm />
