PHP 5.2.0 이상 버전에서 PHPExcel 라이브러리 적용:wq

This commit is contained in:
patch
2017-03-09 16:08:31 +09:00
parent 14906d59c4
commit 4cdd64ba33
255 changed files with 113544 additions and 37 deletions

View File

@ -0,0 +1,28 @@
<?php
class PHPExcel_Reader_Excel5_ErrorCode
{
protected static $map = array(
0x00 => '#NULL!',
0x07 => '#DIV/0!',
0x0F => '#VALUE!',
0x17 => '#REF!',
0x1D => '#NAME?',
0x24 => '#NUM!',
0x2A => '#N/A',
);
/**
* Map error code, e.g. '#N/A'
*
* @param int $code
* @return string
*/
public static function lookup($code)
{
if (isset(self::$map[$code])) {
return self::$map[$code];
}
return false;
}
}