GNU GPL v2+
- Since
- 3.0
- Author
- mwjames
◆ content()
static SMW\Utils\HtmlVTabs::content |
( |
|
$id, |
|
|
|
$html = '' , |
|
|
array |
$attributes = [] |
|
) |
| |
|
static |
Encapsulate the content that relates to a tab link using the ID as identifier to distinguish content sections.
- Since
- 3.0
- Parameters
-
string | $id | |
string | $html | |
array | $attributes | |
- Returns
- string
◆ getModules()
static SMW\Utils\HtmlVTabs::getModules |
( |
| ) |
|
|
static |
◆ getModuleStyles()
static SMW\Utils\HtmlVTabs::getModuleStyles |
( |
| ) |
|
|
static |
◆ init()
static SMW\Utils\HtmlVTabs::init |
( |
| ) |
|
|
static |
◆ nav()
static SMW\Utils\HtmlVTabs::nav |
( |
|
$html = '' , |
|
|
array |
$attributes = [] |
|
) |
| |
|
static |
Encapsulate generate tab links into a navigation container.
- Since
- 3.0
- Parameters
-
string | $html | |
array | $attributes | |
- Returns
- string
◆ navLink()
static SMW\Utils\HtmlVTabs::navLink |
( |
|
$id, |
|
|
|
$label = '' , |
|
|
|
$flag = false , |
|
|
array |
$attributes = [] |
|
) |
| |
|
static |
Generate an individual tab link.
- Since
- 3.0
- Parameters
-
string | $id | |
string | $label | |
string | array | $flag | |
array | $attributes | |
- Returns
- string
◆ setDirection()
static SMW\Utils\HtmlVTabs::setDirection |
( |
|
$direction | ) |
|
|
static |
◆ FIND_ACTIVE_LINK
const SMW\Utils\HtmlVTabs::FIND_ACTIVE_LINK = 'find' |
Match an active status against a id
◆ IS_ACTIVE
const SMW\Utils\HtmlVTabs::IS_ACTIVE = 'active' |
Identifies which link/content to be active
◆ IS_HIDDEN
const SMW\Utils\HtmlVTabs::IS_HIDDEN = 'hidden' |
The documentation for this class was generated from the following file: