51 private $type = self::TYPE_NONE;
65 private $operator = self::OPERATOR_BETWEEN;
149 $this->formula1 = $value;
173 $this->formula2 = $value;
197 $this->type = $value;
221 $this->errorStyle = $value;
233 return $this->operator;
245 $this->
operator = $value;
269 $this->allowBlank = $value;
293 $this->showDropDown = $value;
317 $this->showInputMessage = $value;
341 $this->showErrorMessage = $value;
365 $this->errorTitle = $value;
389 $this->error = $value;
413 $this->promptTitle = $value;
437 $this->prompt = $value;
455 ($this->allowBlank ?
't' :
'f') .
456 ($this->showDropDown ?
't' :
'f') .
457 ($this->showInputMessage ?
't' :
'f') .
458 ($this->showErrorMessage ?
't' :
'f') .
472 $vars = get_object_vars($this);
473 foreach ($vars as
$key => $value) {
474 if (is_object($value)) {
475 $this->
$key = clone $value;
477 $this->
$key = $value;
const OPERATOR_GREATERTHANOREQUAL
setShowInputMessage($value)
Set Show InputMessage.
__construct()
Create a new DataValidation.
const OPERATOR_LESSTHANOREQUAL
setErrorStyle($value)
Set Error style.
getFormula2()
Get Formula 2.
setErrorTitle($value)
Set Error title.
setFormula1($value)
Set Formula 1.
getErrorTitle()
Get Error title.
getAllowBlank()
Get Allow Blank.
setShowDropDown($value)
Set Show DropDown.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
const OPERATOR_NOTBETWEEN
setError($value)
Set Error.
getShowDropDown()
Get Show DropDown.
getHashCode()
Get hash code.
setAllowBlank($value)
Set Allow Blank.
getShowErrorMessage()
Get Show ErrorMessage.
getShowInputMessage()
Get Show InputMessage.
setPromptTitle($value)
Set Prompt title.
setShowErrorMessage($value)
Set Show ErrorMessage.
getFormula1()
Get Formula 1.
setPrompt($value)
Set Prompt.
const OPERATOR_GREATERTHAN
setFormula2($value)
Set Formula 2.
getErrorStyle()
Get Error style.
getOperator()
Get Operator.
getPromptTitle()
Get Prompt title.
setOperator($value)
Set Operator.