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.
public static function 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 on line 323 of libraries/joomla/filesystem/file.php
- Since
- Referenced by
See also[edit]
- JFile::write source code on BitBucket
- Class JFile
- Subpackage Filesystem
- Other versions of JFile::write
User contributed notes[edit]
Code Examples[edit]