Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe FOFLessFormatterClassic
+ Graphe d'héritage de FOFLessFormatterClassic:

Fonctions membres publiques

 __construct ()
 
 indentStr ($n=0)
 
 property ($name, $value)
 
 block ($block)
 

Champs de données

 $indentChar = " "
 
 $break = "\n"
 
 $open = " {"
 
 $close = "}"
 
 $selectorSeparator = ", "
 
 $assignSeparator = ":"
 
 $openSingle = " { "
 
 $closeSingle = " }"
 
 $disableSingle = false
 
 $breakSelectors = false
 
 $compressColors = false
 

Fonctions membres protégées

 isEmpty ($block)
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( )

Public constructor

Documentation des fonctions membres

◆ block()

block (   $block)

Output a CSS block

Paramètres
stdClass$blockThe block definition to output
Renvoie
void

Références block.

◆ indentStr()

indentStr (   $n = 0)

Indent a string by $n positions

Paramètres
integer$nHow many positions to indent
Renvoie
string The indented string

Références $n.

◆ isEmpty()

isEmpty (   $block)
protected

Is a block empty?

Paramètres
stdClass$blockThe block to check
Renvoie
boolean True if the block has no lines or children

◆ property()

property (   $name,
  $value 
)

Return the code for a property

Paramètres
string$nameThe name of the property
string$valueThe value of the property
Renvoie
string The CSS code

Références $name, et $value.

Documentation des champs

◆ $assignSeparator

$assignSeparator = ":"

◆ $break

$break = "\n"

◆ $breakSelectors

$breakSelectors = false

◆ $close

$close = "}"

◆ $closeSingle

$closeSingle = " }"

◆ $compressColors

$compressColors = false

◆ $disableSingle

$disableSingle = false

◆ $indentChar

$indentChar = " "

◆ $open

$open = " {"

◆ $openSingle

$openSingle = " { "

◆ $selectorSeparator

$selectorSeparator = ", "

La documentation de cette classe a été générée à partir du fichier suivant :