ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Settings.php
Go to the documentation of this file.
1
<?php
29
if
(!defined(
'PHPEXCEL_ROOT'
)) {
33
define(
'PHPEXCEL_ROOT'
, dirname(__FILE__) .
'/../'
);
34
require(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php'
);
35
}
36
37
38
class
PHPExcel_Settings
39
{
41
const
PCLZIP
=
'PHPExcel_Shared_ZipArchive'
;
42
const
ZIPARCHIVE
=
'ZipArchive'
;
43
44
45
private
static
$_zipClass
=
self::ZIPARCHIVE
;
46
47
54
public
static
function
setZipClass
($zipClass) {
55
if
(($zipClass == self::PCLZIP) ||
56
($zipClass == self::ZIPARCHIVE)) {
57
self::$_zipClass = $zipClass;
58
return
True;
59
}
60
return
False;
61
}
// function setZipClass()
62
63
69
public
static
function
getZipClass
() {
70
return
self::$_zipClass
;
71
}
// function getZipClass()
72
73
74
public
static
function
getCacheStorageMethod
() {
75
return
PHPExcel_CachedObjectStorageFactory::$_cacheStorageMethod
;
76
}
// function getCacheStorageMethod()
77
78
79
public
static
function
getCacheStorageClass
() {
80
return
PHPExcel_CachedObjectStorageFactory::$_cacheStorageClass
;
81
}
// function getCacheStorageClass()
82
83
84
public
static
function
setCacheStorageMethod
($method =
PHPExcel_CachedObjectStorageFactory::cache_in_memory
, $arguments = array()) {
85
return
PHPExcel_CachedObjectStorageFactory::initialize
($method,$arguments);
86
}
// function setCacheStorageMethod()
87
88
89
public
static
function
setLocale
($locale){
90
return
PHPExcel_Calculation::getInstance
()->setLocale($locale);
91
}
// function setLocale()
92
93
}
Services
Excel
PHPExcel
1.7.6
Classes
PHPExcel
Settings.php
Generated on Mon Apr 25 2016 19:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)