API17

API17:JFile::read

From Joomla! Documentation

Joomla 11.1 JFile::read

Description

Read the contents of a file.


public static 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

See also


User contributed notes

Code Examples