Representa um tema CSS
Definition at line 8 of file Theme.php.
__construct |
( |
string |
$theme_name | ) |
|
Construtor da classe.
- Parameters
-
string | $theme_name | O nome do tema. |
- Returns
- void
Definition at line 25 of file Theme.php.
Adiciona um seletor no tema.
- Parameters
-
Definition at line 42 of file Theme.php.
Retorna um array com todos os seletores.
- Returns
- array
Definition at line 50 of file Theme.php.
getSelector |
( |
string |
$selector_id | ) |
|
Retorna um determinado seletor identificado por $selector_id.
- Parameters
-
string | $selector_id | A identifica?Æo do seletor. |
- Returns
- CSSMagic
Definition at line 59 of file Theme.php.
Retorna o nome do tema.
- Returns
- string
Definition at line 33 of file Theme.php.
Gera o c¢digo CSS do tema.
- Returns
- string
Definition at line 85 of file Theme.php.
hasSelector |
( |
string |
$selector_id | ) |
|
Verifica se determinado seletor existe.
- Parameters
-
string | $selector_id | A identifica?Æo do seletor. |
- Returns
- boolean
Definition at line 68 of file Theme.php.
removeSelector |
( |
string |
$selector_id | ) |
|
Remove determinado seletor.
- Parameters
-
string | $seletor_id | A identifica?Æo do seletor para remover. |
- Returns
- void
Definition at line 77 of file Theme.php.
Os seletores do tema
Definition at line 18 of file Theme.php.
Um nome para o tema
Definition at line 13 of file Theme.php.
The documentation for this class was generated from the following file: