API17:JFile::write
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFile::write
Description
Write contents to a file.
Description:JFile::write [Edit Descripton]
Since
Synopsis
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
boolean True on success
Defined in
libraries/joomla/filesystem/file.php (line 310)
- see source code in BitBucket
Referenced by
- JArchiveZip::_createZIPFile
- JArchiveZip::_extract
- JArchiveZip::_extractNative
- JInstallerHelper::downloadPackage
- JArchiveTar::extract
- JPath::isOwner
See also
Examples
<CodeExamplesForm />
