ConditionalFormattingRuleExtension
in package
Table of Contents
Constants
- CONDITION_EXTENSION_DATABAR = 'dataBar'
Properties
- $cfRule : string
- $dataBar : ConditionalDataBarExtension
- $id : string
- $sqref : string
Methods
- __construct() : mixed
- ConditionalFormattingRuleExtension constructor.
- getCfRule() : string
- getDataBarExt() : ConditionalDataBarExtension
- getId() : string
- getSqref() : string
- parseExtLstXml() : array<string|int, mixed>
- setCfRule() : self
- setDataBarExt() : self
- setId() : self
- setSqref() : self
- generateUuid() : string
- parseExtDataBarAttributesFromXml() : void
- parseExtDataBarElementChildrenFromXml() : void
Constants
CONDITION_EXTENSION_DATABAR
public
mixed
CONDITION_EXTENSION_DATABAR
= 'dataBar'
Properties
$cfRule
private
string
$cfRule
Conditional Formatting Rule
$dataBar
private
ConditionalDataBarExtension
$dataBar
$id
private
string
$id
$sqref
private
string
$sqref
= ''
Sequence of References
Methods
__construct()
ConditionalFormattingRuleExtension constructor.
public
__construct([string|null $id = null ][, string $cfRule = self::CONDITION_EXTENSION_DATABAR ]) : mixed
Parameters
- $id : string|null = null
- $cfRule : string = self::CONDITION_EXTENSION_DATABAR
getCfRule()
public
getCfRule() : string
Return values
stringgetDataBarExt()
public
getDataBarExt() : ConditionalDataBarExtension
Return values
ConditionalDataBarExtensiongetId()
public
getId() : string
Return values
stringgetSqref()
public
getSqref() : string
Return values
stringparseExtLstXml()
public
static parseExtLstXml(SimpleXMLElement|null $extLstXml) : array<string|int, mixed>
Parameters
- $extLstXml : SimpleXMLElement|null
Return values
array<string|int, mixed>setCfRule()
public
setCfRule(string $cfRule) : self
Parameters
- $cfRule : string
Return values
selfsetDataBarExt()
public
setDataBarExt(ConditionalDataBarExtension $dataBar) : self
Parameters
- $dataBar : ConditionalDataBarExtension
Return values
selfsetId()
public
setId(string $id) : self
Parameters
- $id : string
Return values
selfsetSqref()
public
setSqref(string $sqref) : self
Parameters
- $sqref : string
Return values
selfgenerateUuid()
private
generateUuid() : string
Return values
stringparseExtDataBarAttributesFromXml()
private
static parseExtDataBarAttributesFromXml(ConditionalDataBarExtension $extDataBarObj, SimpleXMLElement $dataBarXml) : void
Parameters
- $extDataBarObj : ConditionalDataBarExtension
- $dataBarXml : SimpleXMLElement
parseExtDataBarElementChildrenFromXml()
private
static parseExtDataBarElementChildrenFromXml(ConditionalDataBarExtension $extDataBarObj, SimpleXMLElement $dataBarXml, array<string|int, mixed> $ns) : void
Parameters
- $extDataBarObj : ConditionalDataBarExtension
- $dataBarXml : SimpleXMLElement
- $ns : array<string|int, mixed>