|
string const | BLOCK_RULES = 'media/document/supports/region-style/font-feature-values' |
|
$this | iLineNo = $iLineNo |
|
string const | SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation' |
| … and more font-specific ones (to be used inside font-feature-values)
|
|
|
array< array-key, $aComments;protected array< int, $aContents;protected int $iLineNo;public function __construct( $iLineNo=0) { $this->aComments=[];$this-> | aContents = [] |
| Comment>
|
|
◆ __construct()
Sabberworm\CSS\CSSList\KeyFrame::__construct |
( |
| $iLineNo = 0 | ) |
|
◆ __toString()
Sabberworm\CSS\CSSList\KeyFrame::__toString |
( |
| ) |
|
◆ addComments()
Sabberworm\CSS\CSSList\CSSList::addComments |
( |
array | $aComments | ) |
|
|
inherited |
◆ append()
Sabberworm\CSS\CSSList\CSSList::append |
( |
| $oItem | ) |
|
|
inherited |
Appends an item to tje list of contents.
- Parameters
-
RuleSet | CSSList | Import | Charset | $oItem | |
- Return values
-
◆ atRuleArgs()
Sabberworm\CSS\CSSList\KeyFrame::atRuleArgs |
( |
| ) |
|
◆ atRuleName()
Sabberworm\CSS\CSSList\KeyFrame::atRuleName |
( |
| ) |
|
◆ getAnimationName()
Sabberworm\CSS\CSSList\KeyFrame::getAnimationName |
( |
| ) |
|
◆ getComments()
Sabberworm\CSS\CSSList\CSSList::getComments |
( |
| ) |
|
|
inherited |
◆ getContents()
Sabberworm\CSS\CSSList\CSSList::getContents |
( |
| ) |
|
|
inherited |
- Return values
-
array<int,RuleSet|Import|Charset|CSSList> | |
◆ getLineNo()
Sabberworm\CSS\CSSList\CSSList::getLineNo |
( |
| ) |
|
|
inherited |
◆ getVendorKeyFrame()
Sabberworm\CSS\CSSList\KeyFrame::getVendorKeyFrame |
( |
| ) |
|
◆ insert()
Sabberworm\CSS\CSSList\CSSList::insert |
( |
| $oItem, |
|
|
| $oSibling ) |
|
inherited |
Insert an item before its sibling.
- Parameters
-
mixed | $oItem | The item. |
mixed | $oSibling | The sibling. |
◆ isRootList()
Sabberworm\CSS\CSSList\KeyFrame::isRootList |
( |
| ) |
|
◆ parseList()
static Sabberworm\CSS\CSSList\CSSList::parseList |
( |
ParserState | $oParserState, |
|
|
CSSList | $oList ) |
|
staticinherited |
- Return values
-
- Exceptions
-
UnexpectedTokenException | |
SourceException | |
◆ prepend()
Sabberworm\CSS\CSSList\CSSList::prepend |
( |
| $oItem | ) |
|
|
inherited |
Prepends an item to the list of contents.
- Parameters
-
RuleSet | CSSList | Import | Charset | $oItem | |
- Return values
-
◆ remove()
Sabberworm\CSS\CSSList\CSSList::remove |
( |
| $oItemToRemove | ) |
|
|
inherited |
Removes an item from the CSS list.
- Parameters
-
RuleSet | Import | Charset | CSSList | $oItemToRemove | May be a RuleSet (most likely a DeclarationBlock), a Import, a Charset or another CSSList (most likely a MediaQuery) |
- Return values
-
bool | whether the item was removed |
◆ removeDeclarationBlockBySelector()
Sabberworm\CSS\CSSList\CSSList::removeDeclarationBlockBySelector |
( |
| $mSelector, |
|
|
| $bRemoveAll = false ) |
|
inherited |
Removes a declaration block from the CSS list if it matches all given selectors.
- Parameters
-
| DeclarationBlock|array<array-key,Selector>|string | $mSelector the selectors to match |
bool | $bRemoveAll | whether to stop at the first declaration block found or remove all blocks |
- Return values
-
◆ render()
Sabberworm\CSS\CSSList\KeyFrame::render |
( |
OutputFormat | $oOutputFormat | ) |
|
◆ replace()
Sabberworm\CSS\CSSList\CSSList::replace |
( |
| $oOldItem, |
|
|
| $mNewItem ) |
|
inherited |
Replaces an item from the CSS list.
- Parameters
-
RuleSet | Import | Charset | CSSList | $oOldItem | May be a RuleSet (most likely a DeclarationBlock ), an Import , a Charset or another CSSList (most likely a MediaQuery ) |
- Return values
-
◆ setAnimationName()
Sabberworm\CSS\CSSList\KeyFrame::setAnimationName |
( |
| $animationName | ) |
|
◆ setComments()
Sabberworm\CSS\CSSList\CSSList::setComments |
( |
array | $aComments | ) |
|
|
inherited |
◆ setContents()
Sabberworm\CSS\CSSList\CSSList::setContents |
( |
array | $aContents | ) |
|
|
inherited |
- Parameters
-
array<int,RuleSet|Import|Charset|CSSList> | $aContents |
◆ setVendorKeyFrame()
Sabberworm\CSS\CSSList\KeyFrame::setVendorKeyFrame |
( |
| $vendorKeyFrame | ) |
|
◆ splice()
Sabberworm\CSS\CSSList\CSSList::splice |
( |
| $iOffset, |
|
|
| $iLength = null, |
|
|
| $mReplacement = null ) |
|
inherited |
Splices the list of contents.
- Parameters
-
int | $iOffset | |
int | $iLength | |
| array<int,RuleSet|CSSList|Import|Charset> | $mReplacement |
- Return values
-
The documentation for this class was generated from the following file:
- lib/php-css-parser/CSSList/KeyFrame.php