JStream::open
Generic File Operations
Open a stream with some lazy loading smarts
Signature
public function open(string
$filename,
[string
$mode = 'r',
[boolean
$use_include_path = false,
[resource
$context = null,
[boolean
$use_prefix = false,
[boolean
$relative = false,
[boolean
$detectprocessingmode = false]]]]]] )
Parameters
-
$filename
- Filename
-
$mode
- Mode string to use
-
$use_include_path
- Use the PHP include path
-
$context
- Context to use when opening
-
$use_prefix
- Use a prefix to open the file
-
$relative
- Filename is a relative path (if false, strips JPATH_ROOT to make it relative)
-
$detectprocessingmode
- Detect the processing method for the file and use the appropriate function
Returns
- boolean