Actions

API17

Difference between revisions of "JStream:: getFilename"

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:JStream::_getFilename|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JStream::_getFilename|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JStream->_getFilename ($filename, $mode, $use_prefix, $relative)
+
public function _getFilename (
 +
        $filename
 +
        $mode
 +
        $use_prefix
 +
        $relative
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 42: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 1285 of libraries/joomla/filesystem/stream.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/stream.php
+
===Referenced by===
+
 
===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>
* [[JStream/11.1|JStream]]
+
===User contributed notes===
* [[JStream::_getFilename|Other versions of this method]]
+
{{SeeAlso:JStream::_getFilename}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 62: 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

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 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.
  • Returns
  • Defined on line 1285 of libraries/joomla/filesystem/stream.php
  • Since Joomla 11.1

See also

SeeAlso:JStream:: getFilename [Edit See Also]

User contributed notes

<CodeExamplesForm />