API17:JFactory::getStream
From Joomla! Documentation
JFactory::getStream
Description
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
JFactory::getStream source code on BitBucket
Class JFactory- Other versions of JFactory::getStream
User contributed notes
Code Examples