API17

Difference between revisions of "JStream::open"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (→‎See also: moving preparation)
Line 67: Line 67:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JStream::open source code''' on [[jplatform:filesystem/stream.php#cl-142|BitBucket]]
 
* {{JVer|11.1}} '''JStream::open source code''' on [[jplatform:filesystem/stream.php#cl-142|BitBucket]]
* {{JVer|11.1}} Class [[JStream/11.1|JStream]]
+
* {{JVer|11.1}} Class [[API17:JStream|JStream]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[JStream::open|Other versions of JStream::open]]
+
* [[API17:JStream::open|Other versions of JStream::open]]
 
{{SeeAlso:JStream::open}}
 
{{SeeAlso:JStream::open}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 21:35, 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 JStream::open[edit]

Description[edit]

Generic File Operations.

Template:Description:JStream::open [Edit Descripton]

public function open (
        $filename
        $mode='r'
        $use_include_path=false
        $context=null
        $use_prefix=false
        $relative=false
        $detectprocessingmode=false
)
Parameter Type Default Description
$filename string Filename
$mode string 'r' Mode string to use
$use_include_path bool false Use the PHP include path
$context resource null Context to use when opening
$use_prefix bool false Use a prefix to open the file
$relative bool false Filename is a relative path (if false, strips JPATH_ROOT to make it relative)
$detectprocessingmode bool false Detect the processing method for the file and use the appropriate function to handle output automatically
  • Returns boolean
  • Defined on line 150 of libraries/joomla/filesystem/stream.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JStream::open [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />