Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Cell
  • PHPExcel_Cell_AdvancedValueBinder
  • PHPExcel_Cell_DataType
  • PHPExcel_Cell_DataValidation
  • PHPExcel_Cell_DefaultValueBinder
  • PHPExcel_Cell_Hyperlink

Interfaces

  • PHPExcel_Cell_IValueBinder
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Cell_DataType

PHPExcel_Cell_DataType

Package: PHPExcel\Cell
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Cell/DataType.php
Methods summary
public static array
# getErrorCodes( )

Get list of error codes

Get list of error codes

Returns

array
public static string
# dataTypeForValue( mixed $pValue = null )

DataType for value

DataType for value

Deprecated

Replaced by PHPExcel_Cell_IValueBinder infrastructure, will be removed in version 1.8.0

Parameters

$pValue

Returns

string
public static mixed
# checkString( mixed $pValue = null )

Check a string that it satisfies Excel requirements

Check a string that it satisfies Excel requirements

Parameters

$pValue
to sanitize to an Excel string

Returns

mixed
Sanitized value
public static string
# checkErrorCode( mixed $pValue = null )

Check a value that it is a valid error code

Check a value that it is a valid error code

Parameters

$pValue
to sanitize to an Excel error code

Returns

string
Sanitized value
Constants summary
string TYPE_STRING2
# 'str'
string TYPE_STRING
# 's'
string TYPE_FORMULA
# 'f'
string TYPE_NUMERIC
# 'n'
string TYPE_BOOL
# 'b'
string TYPE_NULL
# 'null'
string TYPE_INLINE
# 'inlineStr'
string TYPE_ERROR
# 'e'
Properties summary
private static array $_errorCodes

List of error codes

List of error codes

# array( '#NULL!' => 0, '#DIV/0!' => 1, '#VALUE!' => 2, '#REF!' => 3, '#NAME?' => 4, '#NUM!' => 5, '#N/A' => 6 )
Autene API documentation generated by ApiGen