class DataValidation (View source)

Constants

TYPE_NONE

TYPE_CUSTOM

TYPE_DATE

TYPE_DECIMAL

TYPE_LIST

TYPE_TEXTLENGTH

TYPE_TIME

TYPE_WHOLE

STYLE_STOP

STYLE_WARNING

STYLE_INFORMATION

OPERATOR_BETWEEN

OPERATOR_EQUAL

OPERATOR_GREATERTHAN

OPERATOR_GREATERTHANOREQUAL

OPERATOR_LESSTHAN

OPERATOR_LESSTHANOREQUAL

OPERATOR_NOTBETWEEN

OPERATOR_NOTEQUAL

Methods

__construct()

Create a new DataValidation.

string
getFormula1()

Get Formula 1.

$this
setFormula1(string $value)

Set Formula 1.

string
getFormula2()

Get Formula 2.

$this
setFormula2(string $value)

Set Formula 2.

string
getType()

Get Type.

$this
setType(string $value)

Set Type.

string
getErrorStyle()

Get Error style.

$this
setErrorStyle(string $value)

Set Error style.

string
getOperator()

Get Operator.

$this
setOperator(string $value)

Set Operator.

bool
getAllowBlank()

Get Allow Blank.

$this
setAllowBlank(bool $value)

Set Allow Blank.

bool
getShowDropDown()

Get Show DropDown.

$this
setShowDropDown(bool $value)

Set Show DropDown.

bool
getShowInputMessage()

Get Show InputMessage.

$this
setShowInputMessage(bool $value)

Set Show InputMessage.

bool
getShowErrorMessage()

Get Show ErrorMessage.

$this
setShowErrorMessage(bool $value)

Set Show ErrorMessage.

string
getErrorTitle()

Get Error title.

$this
setErrorTitle(string $value)

Set Error title.

string
getError()

Get Error.

$this
setError(string $value)

Set Error.

string
getPromptTitle()

Get Prompt title.

$this
setPromptTitle(string $value)

Set Prompt title.

string
getPrompt()

Get Prompt.

$this
setPrompt(string $value)

Set Prompt.

string
getHashCode()

Get hash code.

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.

Details

__construct()

Create a new DataValidation.

string getFormula1()

Get Formula 1.

Return Value

string

$this setFormula1(string $value)

Set Formula 1.

Parameters

string $value

Return Value

$this

string getFormula2()

Get Formula 2.

Return Value

string

$this setFormula2(string $value)

Set Formula 2.

Parameters

string $value

Return Value

$this

string getType()

Get Type.

Return Value

string

$this setType(string $value)

Set Type.

Parameters

string $value

Return Value

$this

string getErrorStyle()

Get Error style.

Return Value

string

$this setErrorStyle(string $value)

Set Error style.

Parameters

string $value see self::STYLE_*

Return Value

$this

string getOperator()

Get Operator.

Return Value

string

$this setOperator(string $value)

Set Operator.

Parameters

string $value

Return Value

$this

bool getAllowBlank()

Get Allow Blank.

Return Value

bool

$this setAllowBlank(bool $value)

Set Allow Blank.

Parameters

bool $value

Return Value

$this

bool getShowDropDown()

Get Show DropDown.

Return Value

bool

$this setShowDropDown(bool $value)

Set Show DropDown.

Parameters

bool $value

Return Value

$this

bool getShowInputMessage()

Get Show InputMessage.

Return Value

bool

$this setShowInputMessage(bool $value)

Set Show InputMessage.

Parameters

bool $value

Return Value

$this

bool getShowErrorMessage()

Get Show ErrorMessage.

Return Value

bool

$this setShowErrorMessage(bool $value)

Set Show ErrorMessage.

Parameters

bool $value

Return Value

$this

string getErrorTitle()

Get Error title.

Return Value

string

$this setErrorTitle(string $value)

Set Error title.

Parameters

string $value

Return Value

$this

string getError()

Get Error.

Return Value

string

$this setError(string $value)

Set Error.

Parameters

string $value

Return Value

$this

string getPromptTitle()

Get Prompt title.

Return Value

string

$this setPromptTitle(string $value)

Set Prompt title.

Parameters

string $value

Return Value

$this

string getPrompt()

Get Prompt.

Return Value

string

$this setPrompt(string $value)

Set Prompt.

Parameters

string $value

Return Value

$this

string getHashCode()

Get hash code.

Return Value

string Hash code

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.