\PHPExcel_Shared_File

PHPExcel_Shared_File

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

Summary

Methods
Properties
Constants
setUseUploadTempDirectory()
getUseUploadTempDirectory()
file_exists()
realpath()
sys_get_temp_dir()
No public properties found
No constants found
No protected methods found
$useUploadTempDirectory
N/A
No private methods found
No private properties found
N/A

Properties

$useUploadTempDirectory

$useUploadTempDirectory : 

Type

Methods

setUseUploadTempDirectory()

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)

getUseUploadTempDirectory()

getUseUploadTempDirectory() : boolean

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

Returns

boolean —

Use File Upload Temporary directory (true or false)

file_exists()

file_exists(string  $pFilename) : boolean

Verify if a file exists

Parameters

string $pFilename

Filename

Returns

boolean

realpath()

realpath(string  $pFilename) : string

Returns canonicalized absolute pathname, also for ZIP archives

Parameters

string $pFilename

Returns

string

sys_get_temp_dir()

sys_get_temp_dir() : string

Get the systems temporary directory.

Returns

string