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


Generic File Operations.

Description:JStream::open [Edit Descripton]

public function open (
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

SeeAlso:JStream::open [Edit See Also]

User contributed notes

<CodeExamplesForm />