ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
Create a new Conditional. More... | |
getConditionType () | |
Get Condition type. More... | |
setConditionType ($pValue) | |
Set Condition type. More... | |
getOperatorType () | |
Get Operator type. More... | |
setOperatorType ($pValue) | |
Set Operator type. More... | |
getText () | |
Get text. More... | |
setText ($value) | |
Set text. More... | |
getStopIfTrue () | |
Get StopIfTrue. More... | |
setStopIfTrue ($value) | |
Set StopIfTrue. More... | |
getConditions () | |
Get Conditions. More... | |
setConditions ($pValue) | |
Set Conditions. More... | |
addCondition ($pValue) | |
Add Condition. More... | |
getStyle () | |
Get Style. More... | |
setStyle (?Style $pValue=null) | |
Set Style. More... | |
getDataBar () | |
get DataBar. More... | |
setDataBar (ConditionalDataBar $dataBar) | |
set DataBar. More... | |
getHashCode () | |
Get hash code. More... | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
Static Public Member Functions | |
static | isValidConditionType (string $type) |
Verify if param is valid condition type. More... | |
Data Fields | |
const | CONDITION_NONE = 'none' |
const | CONDITION_CELLIS = 'cellIs' |
const | CONDITION_CONTAINSTEXT = 'containsText' |
const | CONDITION_EXPRESSION = 'expression' |
const | CONDITION_CONTAINSBLANKS = 'containsBlanks' |
const | CONDITION_NOTCONTAINSBLANKS = 'notContainsBlanks' |
const | CONDITION_DATABAR = 'dataBar' |
const | CONDITION_NOTCONTAINSTEXT = 'notContainsText' |
const | OPERATOR_NONE = '' |
const | OPERATOR_BEGINSWITH = 'beginsWith' |
const | OPERATOR_ENDSWITH = 'endsWith' |
const | OPERATOR_EQUAL = 'equal' |
const | OPERATOR_GREATERTHAN = 'greaterThan' |
const | OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual' |
const | OPERATOR_LESSTHAN = 'lessThan' |
const | OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual' |
const | OPERATOR_NOTEQUAL = 'notEqual' |
const | OPERATOR_CONTAINSTEXT = 'containsText' |
const | OPERATOR_NOTCONTAINS = 'notContains' |
const | OPERATOR_BETWEEN = 'between' |
const | OPERATOR_NOTBETWEEN = 'notBetween' |
Private Attributes | |
const | CONDITION_TYPES |
$conditionType = self::CONDITION_NONE | |
$operatorType = self::OPERATOR_NONE | |
$text | |
$stopIfTrue = false | |
$condition = [] | |
$dataBar | |
$style | |
Definition at line 8 of file Conditional.php.
PhpOffice\PhpSpreadsheet\Style\Conditional::__construct | ( | ) |
PhpOffice\PhpSpreadsheet\Style\Conditional::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 304 of file Conditional.php.
References $key.
PhpOffice\PhpSpreadsheet\Style\Conditional::addCondition | ( | $pValue | ) |
Add Condition.
string | $pValue | Condition |
Definition at line 232 of file Conditional.php.
PhpOffice\PhpSpreadsheet\Style\Conditional::getConditions | ( | ) |
Get Conditions.
Definition at line 203 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$condition.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
PhpOffice\PhpSpreadsheet\Style\Conditional::getConditionType | ( | ) |
Get Condition type.
Definition at line 107 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$conditionType.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
PhpOffice\PhpSpreadsheet\Style\Conditional::getDataBar | ( | ) |
get DataBar.
Definition at line 268 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$dataBar.
PhpOffice\PhpSpreadsheet\Style\Conditional::getHashCode | ( | ) |
Get hash code.
Implements PhpOffice\PhpSpreadsheet\IComparable.
Definition at line 290 of file Conditional.php.
PhpOffice\PhpSpreadsheet\Style\Conditional::getOperatorType | ( | ) |
Get Operator type.
Definition at line 131 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$operatorType.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
PhpOffice\PhpSpreadsheet\Style\Conditional::getStopIfTrue | ( | ) |
Get StopIfTrue.
Definition at line 179 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$stopIfTrue.
PhpOffice\PhpSpreadsheet\Style\Conditional::getStyle | ( | ) |
Get Style.
Definition at line 244 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$style.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\getDataBlockProtection(), and PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
PhpOffice\PhpSpreadsheet\Style\Conditional::getText | ( | ) |
Get text.
Definition at line 155 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$text.
|
static |
PhpOffice\PhpSpreadsheet\Style\Conditional::setConditions | ( | $pValue | ) |
Set Conditions.
bool|float|int|string|string[] | $pValue Condition |
Definition at line 215 of file Conditional.php.
PhpOffice\PhpSpreadsheet\Style\Conditional::setConditionType | ( | $pValue | ) |
Set Condition type.
string | $pValue | Condition type, see self::CONDITION_* |
Definition at line 119 of file Conditional.php.
PhpOffice\PhpSpreadsheet\Style\Conditional::setDataBar | ( | ConditionalDataBar | $dataBar | ) |
set DataBar.
Definition at line 278 of file Conditional.php.
References PhpOffice\PhpSpreadsheet\Style\Conditional\$dataBar.
PhpOffice\PhpSpreadsheet\Style\Conditional::setOperatorType | ( | $pValue | ) |
Set Operator type.
string | $pValue | Conditional operator type, see self::OPERATOR_* |
Definition at line 143 of file Conditional.php.
PhpOffice\PhpSpreadsheet\Style\Conditional::setStopIfTrue | ( | $value | ) |
PhpOffice\PhpSpreadsheet\Style\Conditional::setStyle | ( | ?Style | $pValue = null | ) |
PhpOffice\PhpSpreadsheet\Style\Conditional::setText | ( | $value | ) |
|
private |
Definition at line 79 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getConditions().
|
private |
Definition at line 51 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getConditionType().
|
private |
Definition at line 84 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getDataBar(), and PhpOffice\PhpSpreadsheet\Style\Conditional\setDataBar().
|
private |
Definition at line 58 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getOperatorType().
|
private |
Definition at line 72 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getStopIfTrue().
|
private |
Definition at line 91 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getStyle().
|
private |
Definition at line 65 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\Conditional\getText().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_CELLIS = 'cellIs' |
Definition at line 12 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\__construct(), PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFHeader(), PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule(), PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeConditionalFormatting(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeOtherCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_CONTAINSBLANKS = 'containsBlanks' |
Definition at line 15 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeOtherCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_CONTAINSTEXT = 'containsText' |
Definition at line 13 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeConditionalFormatting(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeOtherCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_DATABAR = 'dataBar' |
Definition at line 17 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\ConditionalFormattingRuleExtension\parseExtLstXml(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeConditionalFormatting().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_EXPRESSION = 'expression' |
Definition at line 14 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\__construct(), PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFHeader(), PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeOtherCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_NONE = 'none' |
Definition at line 11 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeConditionalFormatting().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_NOTCONTAINSBLANKS = 'notContainsBlanks' |
Definition at line 16 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeOtherCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::CONDITION_NOTCONTAINSTEXT = 'notContainsText' |
Definition at line 18 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeConditionalFormatting().
|
private |
Definition at line 20 of file Conditional.php.
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_BEGINSWITH = 'beginsWith' |
Definition at line 33 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeTextCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_BETWEEN = 'between' |
Definition at line 43 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_CONTAINSTEXT = 'containsText' |
Definition at line 41 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeTextCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_ENDSWITH = 'endsWith' |
Definition at line 34 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeTextCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_EQUAL = 'equal' |
Definition at line 35 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_GREATERTHAN = 'greaterThan' |
Definition at line 36 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual' |
Definition at line 37 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_LESSTHAN = 'lessThan' |
Definition at line 38 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual' |
Definition at line 39 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_NONE = '' |
Definition at line 32 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeConditionalFormatting().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_NOTBETWEEN = 'notBetween' |
Definition at line 44 of file Conditional.php.
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_NOTCONTAINS = 'notContains' |
Definition at line 42 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet\writeTextCondElements().
const PhpOffice\PhpSpreadsheet\Style\Conditional::OPERATOR_NOTEQUAL = 'notEqual' |
Definition at line 40 of file Conditional.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xls\Worksheet\writeCFRule().