ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | setUseUploadTempDirectory ($useUploadTempDir) |
Set the flag indicating whether the File Upload Temp directory should be used for temporary files. More... | |
static | getUseUploadTempDirectory () |
Get the flag indicating whether the File Upload Temp directory should be used for temporary files. More... | |
static | fileExists ($pFilename) |
Verify if a file exists. More... | |
static | realpath ($pFilename) |
Returns canonicalized absolute pathname, also for ZIP archives. More... | |
static | sysGetTempDir () |
Get the systems temporary directory. More... | |
static | temporaryFilename () |
static | assertFile ($filename) |
Assert that given path is an existing file and is readable, otherwise throw exception. More... | |
Static Protected Attributes | |
static | $useUploadTempDirectory = false |
|
static |
Assert that given path is an existing file and is readable, otherwise throw exception.
string | $filename |
Definition at line 143 of file File.php.
References $filename.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Gnumeric\canRead(), PhpOffice\PhpSpreadsheet\Reader\Ods\canRead(), PhpOffice\PhpSpreadsheet\Reader\Xls\canRead(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\canRead(), PhpOffice\PhpSpreadsheet\IOFactory\createReaderForFile(), PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Xml\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Xls\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\loadIntoExisting(), PhpOffice\PhpSpreadsheet\Reader\BaseReader\openFile(), and PhpOffice\PhpSpreadsheet\Shared\OLERead\read().
|
static |
Verify if a file exists.
string | $pFilename | Filename |
Definition at line 45 of file File.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\ContentTypes\getImageMimeType().
|
static |
Get the flag indicating whether the File Upload Temp directory should be used for temporary files.
Definition at line 33 of file File.php.
References PhpOffice\PhpSpreadsheet\Shared\File\$useUploadTempDirectory.
|
static |
Returns canonicalized absolute pathname, also for ZIP archives.
string | $pFilename |
Definition at line 76 of file File.php.
References $i, and PhpOffice\PhpSpreadsheet\Shared\File\realpath().
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), PhpOffice\PhpSpreadsheet\Shared\File\realpath(), and PhpOffice\PhpSpreadsheet\Shared\File\sysGetTempDir().
|
static |
Set the flag indicating whether the File Upload Temp directory should be used for temporary files.
bool | $useUploadTempDir | Use File Upload Temporary directory (true or false) |
Definition at line 23 of file File.php.
|
static |
Get the systems temporary directory.
Definition at line 111 of file File.php.
References PhpOffice\PhpSpreadsheet\Shared\File\realpath().
Referenced by PhpOffice\PhpSpreadsheet\Shared\XMLWriter\__construct(), PhpOffice\PhpSpreadsheet\Writer\Pdf\__construct(), and PhpOffice\PhpSpreadsheet\Writer\Html\writeChartInCell().
|
static |
|
staticprotected |
Definition at line 16 of file File.php.
Referenced by PhpOffice\PhpSpreadsheet\Shared\File\getUseUploadTempDirectory().