API17

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.

Joomla 11.1 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]


User contributed notes[edit]

Code Examples[edit]