PHPExcel_Cell
[ class tree: PHPExcel_Cell ] [ index: PHPExcel_Cell ] [ all elements ]

Class: PHPExcel_Cell_DataType

Source Location: /PHPExcel/Cell/DataType.php

Class Overview


PHPExcel_Cell_DataType


Author(s):

Copyright:

  • Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

Constants

Methods



Class Details

[line 36]
PHPExcel_Cell_DataType



Tags:

copyright:  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)


[ Top ]


Class Methods


static method checkErrorCode [line 103]

static string checkErrorCode( [mixed $pValue = null])

Check a value that it is a valid error code



Tags:

return:  Sanitized value
access:  public


Parameters:

mixed   $pValue   Value to sanitize to an Excel error code

[ Top ]

static method checkString [line 81]

static mixed checkString( [mixed $pValue = null])

Check a string that it satisfies Excel requirements



Tags:

return:  Sanitized value
access:  public


Parameters:

mixed   $pValue   Value to sanitize to an Excel string

[ Top ]

static method dataTypeForValue [line 71]

static int dataTypeForValue( [mixed $pValue = null])

DataType for value



Tags:

deprecated:  Replaced by PHPExcel_Cell_IValueBinder infrastructure
access:  public


Parameters:

mixed   $pValue  

[ Top ]

static method getErrorCodes [line 60]

static array getErrorCodes( )

Get list of error codes



Tags:

access:  public


[ Top ]


Class Constants

TYPE_BOOL =  'b'

[line 43]


[ Top ]

TYPE_ERROR =  'e'

[line 46]


[ Top ]

TYPE_FORMULA =  'f'

[line 41]


[ Top ]

TYPE_INLINE =  'inlineStr'

[line 45]


[ Top ]

TYPE_NULL =  's'

[line 44]


[ Top ]

TYPE_NUMERIC =  'n'

[line 42]


[ Top ]

TYPE_STRING =  's'

[line 40]


[ Top ]

TYPE_STRING2 =  'str'

[line 39]


[ Top ]



Documentation generated on Sun, 27 Feb 2011 16:29:19 -0800 by phpDocumentor 1.4.3