ConditionalFormattingRuleExtension
Table of Contents
- CONDITION_EXTENSION_DATABAR = 'dataBar'
- $cfRule : string
- $dataBar : ConditionalDataBarExtension
- $id : string
- $sqref : string
- __construct() : mixed
- ConditionalFormattingRuleExtension constructor.
- getCfRule() : string
- getDataBarExt() : ConditionalDataBarExtension
- getId() : mixed
- 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
$dataBar
private
ConditionalDataBarExtension
$dataBar
$id
private
string
$id
$sqref
private
string
$sqref
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
Return values
mixed —getCfRule()
public
getCfRule() : string
Return values
string —getDataBarExt()
public
getDataBarExt() : ConditionalDataBarExtension
Return values
ConditionalDataBarExtension —getId()
public
getId() : mixed
Return values
mixed —getSqref()
public
getSqref() : string
Return values
string —parseExtLstXml()
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
self —setDataBarExt()
public
setDataBarExt(ConditionalDataBarExtension $dataBar) : self
Parameters
- $dataBar : ConditionalDataBarExtension
Return values
self —setId()
public
setId(mixed $id) : self
Parameters
- $id : mixed
Return values
self —setSqref()
public
setSqref(string $sqref) : self
Parameters
- $sqref : string
Return values
self —generateUuid()
private
generateUuid() : string
Return values
string —parseExtDataBarAttributesFromXml()
private
static parseExtDataBarAttributesFromXml(ConditionalDataBarExtension $extDataBarObj, SimpleXMLElement $dataBarXml) : void
Parameters
- $extDataBarObj : ConditionalDataBarExtension
- $dataBarXml : SimpleXMLElement
Return values
void —parseExtDataBarElementChildrenFromXml()
private
static parseExtDataBarElementChildrenFromXml(ConditionalDataBarExtension $extDataBarObj, SimpleXMLElement $dataBarXml, array<string|int, mixed>|SimpleXMLElement $ns) : void
Parameters
- $extDataBarObj : ConditionalDataBarExtension
- $dataBarXml : SimpleXMLElement
- $ns : array<string|int, mixed>|SimpleXMLElement