Difference between revisions of "JStream:: getFilename"
From Joomla! Documentation
m (JoomlaWikiBot moved page JStream:: getFilename/11.1 to API17:JStream:: getFilename without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Determine the appropriate 'filename' of a file. | Determine the appropriate 'filename' of a file. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function _getFilename ( | public function _getFilename ( | ||
Line 49: | Line 47: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JStream::_getFilename source code''' on [[jplatform:filesystem/stream.php#cl-1277|BitBucket]] | * {{JVer|11.1}} '''JStream::_getFilename source code''' on [[jplatform:filesystem/stream.php#cl-1277|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JStream | + | * {{JVer|11.1}} Class [[API17:JStream|JStream]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JStream::_getFilename|Other versions of JStream::_getFilename]] | + | * [[API17:JStream::_getFilename|Other versions of JStream::_getFilename]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JStream::_getFilename | category=JStream::_getFilename | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 67: | Line 63: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:44, 24 March 2017
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.
JStream::_getFilename[edit]
Description[edit]
Determine the appropriate 'filename' of a file.
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[edit]
- JStream::_getFilename source code on BitBucket
- Class JStream
- Subpackage Filesystem
- Other versions of JStream::_getFilename
User contributed notes[edit]
Code Examples[edit]