ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | setLocale ($locale) |
Set the locale code to use for formula translations and any special formatting. More... | |
static | setChartRenderer ($rendererClass) |
Identify to PhpSpreadsheet the external library to use for rendering charts. More... | |
static | getChartRenderer () |
Return the Chart Rendering Library that PhpSpreadsheet is currently configured to use. More... | |
static | setLibXmlLoaderOptions ($options) |
Set default options for libxml loader. More... | |
static | getLibXmlLoaderOptions () |
Get default options for libxml loader. More... | |
static | setLibXmlDisableEntityLoader ($state) |
Enable/Disable the entity loader for libxml loader. More... | |
static | getLibXmlDisableEntityLoader () |
Return the state of the entity loader (disabled/enabled) for libxml loader. More... | |
static | setCache (CacheInterface $cache) |
Sets the implementation of cache that should be used for cell collection. More... | |
static | getCache () |
Gets the implementation of cache that should be used for cell collection. More... | |
static | setHttpClient (ClientInterface $httpClient, RequestFactoryInterface $requestFactory) |
Set the HTTP client implementation to be used for network request. More... | |
static | unsetHttpClient () |
Unset the HTTP client configuration. More... | |
static | getHttpClient () |
Get the HTTP client implementation to be used for network request. More... | |
static | getRequestFactory () |
Get the HTTP request factory. More... | |
Static Private Member Functions | |
static | assertHttpClient () |
Static Private Attributes | |
static | $chartRenderer |
static | $libXmlLoaderOptions = null |
static | $libXmlDisableEntityLoader = true |
static | $cache |
static | $httpClient |
static | $requestFactory |
Definition at line 12 of file Settings.php.
|
staticprivate |
Definition at line 212 of file Settings.php.
|
static |
Gets the implementation of cache that should be used for cell collection.
Definition at line 165 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Collection\CellsFactory\getInstance().
|
static |
Return the Chart Rendering Library that PhpSpreadsheet is currently configured to use.
Definition at line 92 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Chart\Chart\render().
|
static |
Get the HTTP client implementation to be used for network request.
Definition at line 195 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Calculation\Web\Service\webService().
|
static |
Return the state of the entity loader (disabled/enabled) for libxml loader.
Definition at line 147 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Security\XmlScanner\disableEntityLoaderCheck().
|
static |
Get default options for libxml loader.
Defaults to LIBXML_DTDLOAD | LIBXML_DTDATTR when not set explicitly.
Definition at line 116 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Ods\canRead(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Properties\extractPropertyData(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\getWorkbookBaseName(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Ods\listWorksheetInfo(), PhpOffice\PhpSpreadsheet\Reader\Ods\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\listWorksheetNames(), PhpOffice\PhpSpreadsheet\Reader\Ods\load(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\loadIntoExisting(), PhpOffice\PhpSpreadsheet\Reader\Ods\processSettings(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readFormControlProperties(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readPrinterSettings(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\readRibbon(), and PhpOffice\PhpSpreadsheet\Reader\Xml\trySimpleXMLLoadString().
|
static |
Get the HTTP request factory.
Definition at line 205 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Calculation\Web\Service\webService().
|
static |
Sets the implementation of cache that should be used for cell collection.
Definition at line 155 of file Settings.php.
References PhpOffice\PhpSpreadsheet\Settings\$cache.
|
static |
Identify to PhpSpreadsheet the external library to use for rendering charts.
string | $rendererClass | Class name of the chart renderer eg: PhpOffice |
Definition at line 77 of file Settings.php.
|
static |
Set the HTTP client implementation to be used for network request.
Definition at line 177 of file Settings.php.
References PhpOffice\PhpSpreadsheet\Settings\$httpClient, and PhpOffice\PhpSpreadsheet\Settings\$requestFactory.
|
static |
Enable/Disable the entity loader for libxml loader.
Allow/disallow libxml_disable_entity_loader() call when not thread safe. Default behaviour is to do the check, but if you're running PHP versions 7.2 < 7.2.1 then you may need to disable this check to prevent unwanted behaviour in other threads SECURITY WARNING: Changing this flag to false is not recommended.
bool | $state |
Definition at line 137 of file Settings.php.
References $state.
|
static |
Set default options for libxml loader.
int | $options | Default options for libxml loader |
Definition at line 102 of file Settings.php.
References PHPMailer\PHPMailer\$options.
|
static |
Set the locale code to use for formula translations and any special formatting.
string | $locale | The locale code to use (e.g. "fr" or "pt_br" or "en_uk") |
Definition at line 66 of file Settings.php.
References PhpOffice\PhpSpreadsheet\Calculation\Calculation\getInstance().
|
static |
Unset the HTTP client configuration.
Definition at line 186 of file Settings.php.
|
staticprivate |
Definition at line 45 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Settings\setCache().
|
staticprivate |
Definition at line 20 of file Settings.php.
|
staticprivate |
Definition at line 52 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Settings\setHttpClient().
|
staticprivate |
Definition at line 38 of file Settings.php.
|
staticprivate |
Definition at line 27 of file Settings.php.
|
staticprivate |
Definition at line 57 of file Settings.php.
Referenced by PhpOffice\PhpSpreadsheet\Settings\setHttpClient().