The plugin menu builders for the classic plugin menu.
More...
The plugin menu builders for the classic plugin menu.
- Author
- Peter Harteg peter.nosp@m.@har.nosp@m.teg.d.nosp@m.k
-
The CMSimple_XH developers devs@.nosp@m.cmsi.nosp@m.mple-.nosp@m.xh.o.nosp@m.rg
- Copyright
- 1999-2009 Peter Harteg
-
2009-2023 The CMSimple_XH developers https://www.cmsimple-xh.org/?About-CMSimple_XH/The-XH-Team
-
GNU GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
- Since
- 1.6.2
◆ makeConfigItem()
XH\ClassicPluginMenu::makeConfigItem |
( |
| ) |
|
|
protected |
Makes the configuration menu item.
- Returns
- void
Reimplemented from XH\PluginMenu.
◆ makeData()
XH\ClassicPluginMenu::makeData |
( |
|
$text, |
|
|
array |
$style = array() |
|
) |
| |
Makes a new data menu item.
- Parameters
-
string | $text | Content of the td element. |
array | $style | Attributes of the td element. |
- Returns
- void
◆ makeHelpItem()
XH\ClassicPluginMenu::makeHelpItem |
( |
| ) |
|
|
protected |
Makes the help menu item.
- Returns
- void
Reimplemented from XH\PluginMenu.
◆ makeLanguageItem()
XH\ClassicPluginMenu::makeLanguageItem |
( |
| ) |
|
|
protected |
Makes the language menu item.
- Returns
- void
Reimplemented from XH\PluginMenu.
◆ makeMainItem()
XH\ClassicPluginMenu::makeMainItem |
( |
| ) |
|
|
protected |
Makes the main menu item.
- Returns
- void
Reimplemented from XH\PluginMenu.
◆ makeRow()
XH\ClassicPluginMenu::makeRow |
( |
array |
$style = array() | ) |
|
Makes a new menu item row.
- Parameters
-
array | $style | Attributes of the table element. |
- Returns
- void
◆ makeStylesheetItem()
XH\ClassicPluginMenu::makeStylesheetItem |
( |
| ) |
|
|
protected |
Makes the stylesheet menu item.
- Returns
- void
Reimplemented from XH\PluginMenu.
◆ makeTab()
XH\ClassicPluginMenu::makeTab |
( |
|
$link, |
|
|
|
$target, |
|
|
|
$text, |
|
|
array |
$style = array() |
|
) |
| |
Makes a new menu item tab.
- Parameters
-
string | $link | href attribute value of the anchor element. |
string | $target | target attribute of the anchor element. |
string | $text | Content of the anchor element. |
array | $style | Attributes of the td resp. anchor element. |
- Returns
- void
◆ render()
XH\ClassicPluginMenu::render |
( |
|
$showMain | ) |
|
Renders the plugin menu.
Note that this override returns a string!
- Parameters
-
bool | $showMain | Whether to show the main settings menu item. |
- Returns
- string|void
Reimplemented from XH\PluginMenu.
◆ show()
XH\ClassicPluginMenu::show |
( |
| ) |
|
Renders the built plugin menu.
- Returns
- string HTML
The documentation for this class was generated from the following file:
- cmsimple/classes/ClassicPluginMenu.php