Actions

API17

Difference between revisions of "JFile::read"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 50: Line 50:
 
mixed Returns file contents or boolean False if failed
 
mixed Returns file contents or boolean False if failed
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/file.php
+
libraries/joomla/filesystem/file.php (line 260)
 +
* see source code in [[jplatform:filesystem/file.php#cl-260|BitBucket]]
 
===Referenced by===
 
===Referenced by===
* [[JArchiveZip/_extract/11.1|JArchiveZip::_extract]]
+
* [[JArchiveZip::_extract/11.1|JArchiveZip::_extract]]
* [[JRegistry/loadFile/11.1|JRegistry::loadFile]]
+
* [[JRegistry::loadFile/11.1|JRegistry::loadFile]]
 
===See also===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 19:31, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JFile::read

Description

Read the contents of a file.

Description:JFile::read [Edit Descripton]

Since

Joomla 11.1

Synopsis

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

mixed Returns file contents or boolean False if failed

Defined in

libraries/joomla/filesystem/file.php (line 260)

Referenced by

See also

[Edit See Also]

SeeAlso:JFile::read

Examples

<CodeExamplesForm />