[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/lib/php-css-parser/Rule/ -> Rule.php (summary)

(no description)

File Size: 235 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Rule:: (21 methods):
  __construct()
  parse()
  listDelimiterForRule()
  getLineNo()
  setRule()
  getRule()
  getValue()
  setValue()
  setValues()
  getValues()
  addValue()
  addIeHack()
  setIeHack()
  getIeHack()
  setIsImportant()
  getIsImportant()
  __toString()
  render()
  addComments()
  getComments()
  setComments()


Class: Rule  - X-Ref

RuleSets contains Rule objects which always have a key and a value.
In CSS, Rules are expressed as follows: “key: value[0][0] value[0][1], value[1][0] value[1][1];”

__construct($sRule, $iLineNo = 0)   X-Ref
No description

parse(ParserState $oParserState)   X-Ref
No description

listDelimiterForRule($sRule)   X-Ref
No description

getLineNo()   X-Ref

return: int

setRule($sRule)   X-Ref
No description

getRule()   X-Ref
No description

getValue()   X-Ref
No description

setValue($mValue)   X-Ref
No description

setValues($aSpaceSeparatedValues)   X-Ref


getValues()   X-Ref


addValue($mValue, $sType = ' ')   X-Ref
Adds a value to the existing value. Value will be appended if a RuleValueList exists of the given type. Otherwise, the existing value will be wrapped by one.


addIeHack($iModifier)   X-Ref
No description

setIeHack(array $aModifiers)   X-Ref
No description

getIeHack()   X-Ref
No description

setIsImportant($bIsImportant)   X-Ref
No description

getIsImportant()   X-Ref
No description

__toString()   X-Ref
No description

render(\Sabberworm\CSS\OutputFormat $oOutputFormat)   X-Ref
No description

addComments(array $aComments)   X-Ref

param: array $aComments Array of comments.

getComments()   X-Ref

return: array

setComments(array $aComments)   X-Ref

param: array $aComments Array containing Comment objects.



Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1