API17

JFile::read

From Joomla! Documentation

Revision as of 18:31, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Joomla 11.1 JFile::read[edit]

Description[edit]

Read the contents of a file.

Template:Description:JFile::read [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

public static JFile::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[edit]

mixed Returns file contents or boolean False if failed

Defined in[edit]

libraries/joomla/filesystem/file.php

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JFile::read

Examples[edit]

<CodeExamplesForm />