\PHPExcel_Cell_DataType

PHPExcel_Cell_DataType

Summary

Methods
Properties
Constants
getErrorCodes()
dataTypeForValue()
checkString()
checkErrorCode()
No public properties found
TYPE_STRING2
TYPE_STRING
TYPE_FORMULA
TYPE_NUMERIC
TYPE_BOOL
TYPE_NULL
TYPE_INLINE
TYPE_ERROR
No protected methods found
No protected properties found
N/A
No private methods found
$_errorCodes
N/A

Constants

TYPE_STRING2

TYPE_STRING2 = 'str'

TYPE_STRING

TYPE_STRING = 's'

TYPE_FORMULA

TYPE_FORMULA = 'f'

TYPE_NUMERIC

TYPE_NUMERIC = 'n'

TYPE_BOOL

TYPE_BOOL = 'b'

TYPE_NULL

TYPE_NULL = 'null'

TYPE_INLINE

TYPE_INLINE = 'inlineStr'

TYPE_ERROR

TYPE_ERROR = 'e'

Properties

$_errorCodes

$_errorCodes : array

List of error codes

Type

array

Methods

getErrorCodes()

getErrorCodes() : array

Get list of error codes

Returns

array

dataTypeForValue()

dataTypeForValue(mixed  $pValue = null) : string

DataType for value

Parameters

mixed $pValue

Returns

string

checkString()

checkString(  $pValue = null) : mixed

Check a string that it satisfies Excel requirements

Parameters

$pValue

Returns

mixed —

Sanitized value

checkErrorCode()

checkErrorCode(  $pValue = null) : string

Check a value that it is a valid error code

Parameters

$pValue

Returns

string —

Sanitized value