Actions

API17

Difference between revisions of "JStream::open"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JStream->open ($filename, $mode='r', $use_include_path=false, $context=null, $use_prefix=false, $relative=false, $detectprocessingmode=false)
+
public JStream::open ($filename, $mode='r', $use_include_path=false, $context=null, $use_prefix=false, $relative=false, $detectprocessingmode=false)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 60: Line 60:
 
boolean
 
boolean
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/stream.php
+
libraries/joomla/filesystem/stream.php (line 129)
 +
* see source code in [[jplatform:filesystem/stream.php#cl-129|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:18, 23 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::open

Description

Open a stream with some lazy loading smarts.

Description:JStream::open [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JStream::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 in

libraries/joomla/filesystem/stream.php (line 129)

Referenced by

See also

[Edit See Also]

SeeAlso:JStream::open

Examples

<CodeExamplesForm />