Helper methods for generating parts of the UI.
More...
|
static | iconClass ( $iconName, $iconType='element', $additionalClassNames='', $iconPrefix='mf') |
| Get CSS classes for icons.
|
|
static | buttonClass ( $modifier='', $additionalClassNames='') |
| Get CSS classes for buttons.
|
|
static | anchorClass ( $modifier='', $additionalClassNames='') |
| Get CSS classes for anchors.
|
|
static | contentElement ( $html, $className='') |
| Mark some html as being content.
|
|
Helper methods for generating parts of the UI.
◆ anchorClass()
static MobileUI::anchorClass |
( |
| $modifier = '', |
|
|
| $additionalClassNames = '' ) |
|
static |
Get CSS classes for anchors.
- Parameters
-
string | $modifier | Type of anchor (progressive, destructive) |
string | $additionalClassNames | additional class names you want to associate with the anchor element |
- Returns
- string class name for use with HTML element
◆ buttonClass()
static MobileUI::buttonClass |
( |
| $modifier = '', |
|
|
| $additionalClassNames = '' ) |
|
static |
Get CSS classes for buttons.
- Parameters
-
string | $modifier | Type of button (progressive, destructive) |
string | $additionalClassNames | additional class names you want to associate with the button element |
- Returns
- string class name for use with HTML element
◆ contentElement()
static MobileUI::contentElement |
( |
| $html, |
|
|
| $className = '' ) |
|
static |
Mark some html as being content.
- Parameters
-
string | $html | HTML content |
string | $className | additional class names |
- Returns
- string of html
◆ iconClass()
static MobileUI::iconClass |
( |
| $iconName, |
|
|
| $iconType = 'element', |
|
|
| $additionalClassNames = '', |
|
|
| $iconPrefix = 'mf' ) |
|
static |
Get CSS classes for icons.
- Parameters
-
string | $iconName | Icon name |
string | $iconType | element or before |
string | $additionalClassNames | additional class names you want to associate with the iconed element |
string | $iconPrefix | optional prefix for icons. Defaults to minerva. |
- Returns
- string class name for use with HTML element
The documentation for this class was generated from the following file: