|
| static | checkErrorCode (mixed $value) |
| | Check a value that it is a valid error code.
|
| |
| static | checkString (null|RichText|string $textValue) |
| | Check a string that it satisfies Excel requirements.
|
| |
| static | getErrorCodes () |
| | Get list of error codes.
|
| |
|
|
static const | MAX_STRING_LENGTH = 32767 |
| |
|
const | TYPE_BOOL = 'b' |
| |
|
const | TYPE_ERROR = 'e' |
| |
|
const | TYPE_FORMULA = 'f' |
| |
|
const | TYPE_INLINE = 'inlineStr' |
| |
|
const | TYPE_ISO_DATE = 'd' |
| |
|
const | TYPE_NULL = 'null' |
| |
|
const | TYPE_NUMERIC = 'n' |
| |
|
const | TYPE_STRING = 's' |
| |
|
const | TYPE_STRING2 = 'str' |
| |
◆ checkErrorCode()
| static PhpOffice\PhpSpreadsheet\Cell\DataType::checkErrorCode |
( |
mixed | $value | ) |
|
|
static |
Check a value that it is a valid error code.
- Parameters
-
| mixed | $value | Value to sanitize to an Excel error code |
- Return values
-
◆ checkString()
| static PhpOffice\PhpSpreadsheet\Cell\DataType::checkString |
( |
null|RichText|string | $textValue | ) |
|
|
static |
Check a string that it satisfies Excel requirements.
- Parameters
-
| null | RichText | string | $textValue | Value to sanitize to an Excel string |
- Return values
-
| RichText|string | Sanitized value |
◆ getErrorCodes()
| static PhpOffice\PhpSpreadsheet\Cell\DataType::getErrorCodes |
( |
| ) |
|
|
static |
Get list of error codes.
- Return values
-
The documentation for this class was generated from the following file:
- lib/phpspreadsheet/phpspreadsheet/src/PhpSpreadsheet/Cell/DataType.php