JFactory::getStream
From Joomla! Documentation
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.
JFactory::getStream[edit]
Description[edit]
Creates a new stream object with appropriate prefix.
public static function getStream (
$use_prefix=true
$use_network=true
$ua=null
$uamask=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$use_prefix | boolean | true | Prefix the connections for writing |
$use_network | boolean | true | Use network if available for writing; use false to disable (e.g. FTP, SCP) |
$ua | string | null | UA User agent to use |
$uamask | boolean | false | User agent masking (prefix Mozilla) |
See also[edit]
- JFactory::getStream source code on BitBucket
- Class JFactory
- Other versions of JFactory::getStream
User contributed notes[edit]
Code Examples[edit]