ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ErrorCode.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Reader\Xls
;
4
5
class
ErrorCode
6
{
7
protected
static
$map
= [
8
0x00 =>
'#NULL!'
,
9
0x07 =>
'#DIV/0!'
,
10
0x0F =>
'#VALUE!'
,
11
0x17 =>
'#REF!'
,
12
0x1D =>
'#NAME?'
,
13
0x24 =>
'#NUM!'
,
14
0x2A =>
'#N/A'
,
15
];
16
24
public
static
function
lookup
(
$code
)
25
{
26
if
(isset(
self::$map
[
$code
])) {
27
return
self::$map
[
$code
];
28
}
29
30
return
false
;
31
}
32
}
$code
$code
Definition:
example_050.php:99
PhpOffice\PhpSpreadsheet\Reader\Xls
PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode\$map
static $map
Definition:
ErrorCode.php:7
php
PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode\lookup
static static lookup($code)
Map error code, e.g.
Definition:
ErrorCode.php:24
PhpOffice\PhpSpreadsheet\Reader\Xls\ErrorCode
Definition:
ErrorCode.php:5
$map
$map
Definition:
fetch_windows_zones.php:13
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Reader
Xls
ErrorCode.php
Generated on Thu Jan 16 2025 19:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)