API17:JFile::write
From Joomla! Documentation
JFile::write
Description
Write contents to a file.
Template: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
Referenced by
- JArchiveZip::_createZIPFile
- JArchiveZip::_extract
- JArchiveZip::_extractNative
- JInstallerHelper::downloadPackage
- JArchiveTar::extract
- JPath::isOwner
See also
Examples
<CodeExamplesForm />