149 $this->formula1 = $value;
173 $this->formula2 = $value;
197 $this->type = $value;
221 $this->errorStyle = $value;
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;
An exception for terminatinating execution or to throw for unit testing.
setAllowBlank($value)
Set Allow Blank.
const OPERATOR_NOTBETWEEN
getHashCode()
Get hash code.
const OPERATOR_GREATERTHAN
__construct()
Create a new DataValidation.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
setShowInputMessage($value)
Set Show InputMessage.
getFormula1()
Get Formula 1.
const OPERATOR_GREATERTHANOREQUAL
getShowErrorMessage()
Get Show ErrorMessage.
setError($value)
Set Error.
setFormula1($value)
Set Formula 1.
setOperator($value)
Set Operator.
getAllowBlank()
Get Allow Blank.
getShowInputMessage()
Get Show InputMessage.
setShowErrorMessage($value)
Set Show ErrorMessage.
setShowDropDown($value)
Set Show DropDown.
setErrorTitle($value)
Set Error title.
getShowDropDown()
Get Show DropDown.
setPromptTitle($value)
Set Prompt title.
setPrompt($value)
Set Prompt.
getErrorTitle()
Get Error title.
setFormula2($value)
Set Formula 2.
getFormula2()
Get Formula 2.
const OPERATOR_LESSTHANOREQUAL
getOperator()
Get Operator.
setErrorStyle($value)
Set Error style.
getPromptTitle()
Get Prompt title.
getErrorStyle()
Get Error style.
error($a_errmsg)
set error message @access public