160 $this->_formula1 =
'';
161 $this->_formula2 =
'';
164 $this->_operator =
'';
165 $this->_allowBlank = FALSE;
166 $this->_showDropDown = FALSE;
167 $this->_showInputMessage = FALSE;
168 $this->_showErrorMessage = FALSE;
169 $this->_errorTitle =
'';
171 $this->_promptTitle =
'';
191 $this->_formula1 = $value;
211 $this->_formula2 = $value;
231 $this->_type = $value;
251 $this->_errorStyle = $value;
271 $this->_operator = $value;
291 $this->_allowBlank = $value;
311 $this->_showDropDown = $value;
331 $this->_showInputMessage = $value;
351 $this->_showErrorMessage = $value;
371 $this->_errorTitle = $value;
391 $this->_error = $value;
411 $this->_promptTitle = $value;
431 $this->_prompt = $value;
447 . ($this->_allowBlank ?
't' :
'f')
448 . ($this->_showDropDown ?
't' :
'f')
449 . ($this->_showInputMessage ?
't' :
'f')
450 . ($this->_showErrorMessage ?
't' :
'f')
453 . $this->_promptTitle
463 $vars = get_object_vars($this);
464 foreach ($vars as
$key => $value) {
465 if (is_object($value)) {
466 $this->
$key = clone $value;
468 $this->
$key = $value;
getErrorStyle()
Get Error style.
getFormula1()
Get Formula 1.
getErrorTitle()
Get Error title.
getShowErrorMessage()
Get Show ErrorMessage.
setError($value='')
Set Error.
setShowDropDown($value=false)
Set Show DropDown.
setFormula2($value='')
Set Formula 2.
setShowInputMessage($value=false)
Set Show InputMessage.
getHashCode()
Get hash code.
setType($value=PHPExcel_Cell_DataValidation::TYPE_NONE)
Set Type.
__construct()
Create a new PHPExcel_Cell_DataValidation.
setOperator($value='')
Set Operator.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
const OPERATOR_GREATERTHAN
const OPERATOR_NOTBETWEEN
setFormula1($value='')
Set Formula 1.
setShowErrorMessage($value=false)
Set Show ErrorMessage.
setPromptTitle($value='')
Set Prompt title.
getPromptTitle()
Get Prompt title.
const OPERATOR_GREATERTHANOREQUAL
getAllowBlank()
Get Allow Blank.
const OPERATOR_LESSTHANOREQUAL
setPrompt($value='')
Set Prompt.
setErrorTitle($value='')
Set Error title.
getFormula2()
Get Formula 2.
getOperator()
Get Operator.
getShowInputMessage()
Get Show InputMessage.
getShowDropDown()
Get Show DropDown.
setErrorStyle($value=PHPExcel_Cell_DataValidation::STYLE_STOP)
Set Error style.
setAllowBlank($value=false)
Set Allow Blank.