JFile::write
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.
JFile::write[edit]
Description[edit]
Write contents to a file.
Template:Description:JFile::write [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFile::write ($file, &$buffer, $use_streams=false)
Parameter | Type | Default | Description |
---|---|---|---|
$file | string | The full file path | |
&$buffer | string | $buffer The buffer to write | |
$use_streams | false |
Returns[edit]
boolean True on success
Defined in[edit]
libraries/joomla/filesystem/file.php (line 310)
- see source code in BitBucket
Referenced by[edit]
- JArchiveZip::_createZIPFile
- JArchiveZip::_extract
- JArchiveZip::_extractNative
- JInstallerHelper::downloadPackage
- JArchiveTar::extract
- JPath::isOwner
See also[edit]
Examples[edit]
<CodeExamplesForm />