JFile::read/1.5
From Joomla! Documentation
JFile::read
Description
Read the contents of a file.
Description:JFile::read [Edit Descripton]
public function read ( $filename $incpath=false $amount=0 $chunksize=8192 $offset=0 )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $filename | string | The full file path | |
| $incpath | boolean | false | Use include path |
| $amount | int | 0 | Amount of file to read |
| $chunksize | int | 8192 | Size of chunks to read |
| $offset | int | 0 | Offset of the file |
- Returns mixed Returns file contents or boolean False if failed
- Defined on line 242 of libraries/joomla/filesystem/file.php
- Since
- Referenced by
See also
-
JFile::read on api.joomla.org
-
JFile source code on JoomlaCode
-
Class JFile
-
Subpackage Filesystem
- Other versions of JFile::read
SeeAlso:JFile::read [Edit See Also]
User contributed notes
<CodeExamplesForm />