lib/ezfile/classes/ezfile.php

Show: inherited
Table of Contents

\eZFile

Package:

Methods

methodpubliccreate(  $filename,  $directory = false,  $data = false,  $atomic = false ) : void
static

Parameters
Name Type Description
$filename
$directory
$data
$atomic
methodpublicdownload(  $file,  $isAttachedDownload = true,  $overrideFilename = false ) : void
static

Parameters
Name Type Description
$file
$isAttachedDownload
$overrideFilename
methodpublicgetContents(  $filename ) : void
static

Parameters
Name Type Description
$filename
methodpublicisWriteable(  $filename ) : void
static

Parameters
Name Type Description
$filename
methodpublicrename(  $srcFile,  $destFile ) : void
static

Parameters
Name Type Description
$srcFile
$destFile
methodpublicsplitLines(  $file ) : array | false
static

Reads the whole contents of the file \a $file and splits it into lines which is collected into an array and returned.

It will handle Unix (\n), Windows (\r\n) and Mac (\r) style newlines. \note The newline character(s) are not present in the line string.

Parameters
Name Type Description
$file
Returns
Type Description
array | false
Details
Deprecated
Since 4.4, use file( $file, FILE_IGNORE_NEW_LINES ) instead.  
methodpublicsuffix(  $filename ) : void
static

Parameters
Name Type Description
$filename
Documentation was generated by DocBlox 0.18.1.