class PHPExcel_Shared_File

PHPExcelSharedFile

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

static 
setUseUploadTempDirectory(boolean $useUploadTempDir = false)

Set the flag indicating whether the File Upload Temp directory should be used for temporary files

static boolean
getUseUploadTempDirectory()

Get the flag indicating whether the File Upload Temp directory should be used for temporary files

static bool
file_exists(string $pFilename)

Verify if a file exists

static string
realpath(string $pFilename)

Returns canonicalized absolute pathname, also for ZIP archives

static string
sys_get_temp_dir()

Get the systems temporary directory.

Details

at line 53
static setUseUploadTempDirectory(boolean $useUploadTempDir = false)

Set the flag indicating whether the File Upload Temp directory should be used for temporary files

Parameters

boolean $useUploadTempDir Use File Upload Temporary directory (true or false)

at line 64
static boolean getUseUploadTempDirectory()

Get the flag indicating whether the File Upload Temp directory should be used for temporary files

Return Value

boolean Use File Upload Temporary directory (true or false)

at line 76
static bool file_exists(string $pFilename)

Verify if a file exists

Parameters

string $pFilename Filename

Return Value

bool

at line 106
static string realpath(string $pFilename)

Returns canonicalized absolute pathname, also for ZIP archives

Parameters

string $pFilename

Return Value

string

at line 140
static string sys_get_temp_dir()

Get the systems temporary directory.

Return Value

string