PHPExcel_Cell

# Class: PHPExcel_Cell_DataValidation Source Location: /PHPExcel/Cell/DataValidation.php
### Class Overview
PHPExcel_Cell_DataValidation #### Author(s): #### Copyright: Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) | ### Variables $_allowBlank $_error $_errorStyle $_errorTitle $_formula1 $_formula2 $_operator $_parent $_prompt $_promptTitle $_showDropDown $_showErrorMessage $_showInputMessage $_type | ### Constants OPERATOR_BETWEEN OPERATOR_EQUAL OPERATOR_GREATERTHAN OPERATOR_GREATERTHANOREQUAL OPERATOR_LESSTHAN OPERATOR_LESSTHANOREQUAL OPERATOR_NOTBETWEEN OPERATOR_NOTEQUAL STYLE_INFORMATION STYLE_STOP STYLE_WARNING TYPE_CUSTOM TYPE_DATE TYPE_DECIMAL TYPE_LIST TYPE_NONE TYPE_TEXTLENGTH TYPE_TIME TYPE_WHOLE | ### Methods __construct getAllowBlank getError getErrorStyle getErrorTitle getFormula1 getFormula2 getHashCode getOperator getParent getPrompt getPromptTitle getShowDropDown getShowErrorMessage getShowInputMessage getType setAllowBlank setError setErrorStyle setErrorTitle setFormula1 setFormula2 setOperator setParent setPrompt setPromptTitle setShowDropDown setShowErrorMessage setShowInputMessage setType __clone
### Class Details [line 36] PHPExcel_Cell_DataValidation PHPExcel_Cell_DataValidation #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_allowBlank = [line 103] Allow Blank Allow Blank #### Tags:
access: | private
Type: | boolean
[ Top ] #### $_error = [line 138] Error Error #### Tags:
access: | private
Type: | string
[ Top ] #### $_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP [line 89] Error style Error style #### Tags:
access: | private
Type: | string
[ Top ] #### $_errorTitle = [line 131] Error title Error title #### Tags:
access: | private
Type: | string
[ Top ] #### $_formula1 = [line 68] Formula 1 Formula 1 #### Tags:
access: | private
Type: | string
[ Top ] #### $_formula2 = [line 75] Formula 2 Formula 2 #### Tags:
access: | private
Type: | string
[ Top ] #### $_operator = [line 96] Operator Operator #### Tags:
access: | private
Type: | string
[ Top ] #### $_parent = [line 159] Parent cell Parent cell #### Tags:
access: | private
Type: | PHPExcel_Cell
[ Top ] #### $_prompt = [line 152] Prompt Prompt #### Tags:
access: | private
Type: | string
[ Top ] #### $_promptTitle = [line 145] Prompt title Prompt title #### Tags:
access: | private
Type: | string
[ Top ] #### $_showDropDown = [line 110] Show DropDown Show DropDown #### Tags:
access: | private
Type: | boolean
[ Top ] #### $_showErrorMessage = [line 124] Show ErrorMessage Show ErrorMessage #### Tags:
access: | private
Type: | boolean
[ Top ] #### $_showInputMessage = [line 117] Show InputMessage Show InputMessage #### Tags:
access: | private
Type: | boolean
[ Top ] #### $_type = PHPExcel_Cell_DataValidation::TYPE_NONE [line 82] Type Type #### Tags:
access: | private
Type: | string
[ Top ] ### Class Methods ### constructor __construct [line 167]
`PHPExcel_Cell_DataValidation __construct( [PHPExcel_Cell $pCell = null])`
Create a new PHPExcel_Cell_DataValidation Create a new PHPExcel_Cell_DataValidation #### Tags:
throws: | Exception
access: | public
#### Parameters:
PHPExcel_Cell | $pCell | Parent cell
[ Top ] ### method getAllowBlank [line 293]
`boolean getAllowBlank( )`
Get Allow Blank Get Allow Blank #### Tags:
access: | public
[ Top ] ### method getError [line 393]
`string getError( )`
Get Error Get Error #### Tags:
access: | public
[ Top ] ### method getErrorStyle [line 253]
`string getErrorStyle( )`
Get Error style Get Error style #### Tags:
access: | public
[ Top ] ### method getErrorTitle [line 373]
`string getErrorTitle( )`
Get Error title Get Error title #### Tags:
access: | public
[ Top ] ### method getFormula1 [line 193]
`string getFormula1( )`
Get Formula 1 Get Formula 1 #### Tags:
access: | public
[ Top ] ### method getFormula2 [line 213]
`string getFormula2( )`
Get Formula 2 Get Formula 2 #### Tags:
access: | public
[ Top ] ### method getHashCode [line 473]
`string getHashCode( )`
Get hash code Get hash code #### Tags:
return: | Hash code
access: | public
[ Top ] ### method getOperator [line 273]
`string getOperator( )`
Get Operator Get Operator #### Tags:
access: | public
[ Top ] ### method getParent [line 453]
`PHPExcel_Cell getParent( )`
Get parent Get parent #### Tags:
access: | public
[ Top ] ### method getPrompt [line 433]
`string getPrompt( )`
Get Prompt Get Prompt #### Tags:
access: | public
[ Top ] ### method getPromptTitle [line 413]
`string getPromptTitle( )`
Get Prompt title Get Prompt title #### Tags:
access: | public
[ Top ] ### method getShowDropDown [line 313]
`boolean getShowDropDown( )`
Get Show DropDown Get Show DropDown #### Tags:
access: | public
[ Top ] ### method getShowErrorMessage [line 353]
`boolean getShowErrorMessage( )`
Get Show ErrorMessage Get Show ErrorMessage #### Tags:
access: | public
[ Top ] ### method getShowInputMessage [line 333]
`boolean getShowInputMessage( )`
Get Show InputMessage Get Show InputMessage #### Tags:
access: | public
[ Top ] ### method getType [line 233]
`string getType( )`
Get Type Get Type #### Tags:
access: | public
[ Top ] ### method setAllowBlank [line 303]
`PHPExcel_Cell_DataValidation setAllowBlank( [boolean $value = false])`
Set Allow Blank Set Allow Blank #### Tags:
access: | public
#### Parameters:
boolean | $value |
[ Top ] ### method setError [line 403]
`PHPExcel_Cell_DataValidation setError( [string $value = ''])`
Set Error Set Error #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setErrorStyle [line 263]
`PHPExcel_Cell_DataValidation setErrorStyle( [string $value = PHPExcel_Cell_DataValidation::STYLE_STOP])`
Set Error style Set Error style #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setErrorTitle [line 383]
`PHPExcel_Cell_DataValidation setErrorTitle( [string $value = ''])`
Set Error title Set Error title #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setFormula1 [line 203]
`PHPExcel_Cell_DataValidation setFormula1( [string $value = ''])`
Set Formula 1 Set Formula 1 #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setFormula2 [line 223]
`PHPExcel_Cell_DataValidation setFormula2( [string $value = ''])`
Set Formula 2 Set Formula 2 #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setOperator [line 283]
`PHPExcel_Cell_DataValidation setOperator( [string $value = ''])`
Set Operator Set Operator #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setParent [line 463]
`PHPExcel_Cell_DataValidation setParent( [PHPExcel_Cell $value = null])`
Set Parent Set Parent #### Tags:
access: | public
#### Parameters:
PHPExcel_Cell | $value |
[ Top ] ### method setPrompt [line 443]
`PHPExcel_Cell_DataValidation setPrompt( [string $value = ''])`
Set Prompt Set Prompt #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setPromptTitle [line 423]
`PHPExcel_Cell_DataValidation setPromptTitle( [string $value = ''])`
Set Prompt title Set Prompt title #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method setShowDropDown [line 323]
`PHPExcel_Cell_DataValidation setShowDropDown( [boolean $value = false])`
Set Show DropDown Set Show DropDown #### Tags:
access: | public
#### Parameters:
boolean | $value |
[ Top ] ### method setShowErrorMessage [line 363]
`PHPExcel_Cell_DataValidation setShowErrorMessage( [boolean $value = false])`
Set Show ErrorMessage Set Show ErrorMessage #### Tags:
access: | public
#### Parameters:
boolean | $value |
[ Top ] ### method setShowInputMessage [line 343]
`PHPExcel_Cell_DataValidation setShowInputMessage( [boolean $value = false])`
Set Show InputMessage Set Show InputMessage #### Tags:
access: | public
#### Parameters:
boolean | $value |
[ Top ] ### method setType [line 243]
`PHPExcel_Cell_DataValidation setType( [string $value = PHPExcel_Cell_DataValidation::TYPE_NONE])`
Set Type Set Type #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method __clone [line 496]
`void __clone( )`
Implement PHP __clone to create a deep clone, not just a shallow copy. Implement PHP __clone to create a deep clone, not just a shallow copy. #### Tags:
access: | public
[ Top ] ### Class Constants #### OPERATOR_BETWEEN = 'between' [line 54] [ Top ] #### OPERATOR_EQUAL = 'equal' [line 55] [ Top ] #### OPERATOR_GREATERTHAN = 'greaterThan' [line 56] [ Top ] #### OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual' [line 57] [ Top ] #### OPERATOR_LESSTHAN = 'lessThan' [line 58] [ Top ] #### OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual' [line 59] [ Top ] #### OPERATOR_NOTBETWEEN = 'notBetween' [line 60] [ Top ] #### OPERATOR_NOTEQUAL = 'notEqual' [line 61] [ Top ] #### STYLE_INFORMATION = 'information' [line 51] [ Top ] #### STYLE_STOP = 'stop' [line 49] [ Top ] #### STYLE_WARNING = 'warning' [line 50] [ Top ] #### TYPE_CUSTOM = 'custom' [line 40] [ Top ] #### TYPE_DATE = 'date' [line 41] [ Top ] #### TYPE_DECIMAL = 'decimal' [line 42] [ Top ] #### TYPE_LIST = 'list' [line 43] [ Top ] #### TYPE_NONE = 'none' [line 39] [ Top ] #### TYPE_TEXTLENGTH = 'textLength' [line 44] [ Top ] #### TYPE_TIME = 'time' [line 45] [ Top ] #### TYPE_WHOLE = 'whole' [line 46] [ Top ] Documentation generated on Mon, 11 Jan 2010 08:07:38 +0100 by phpDocumentor 1.4.1