XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
addBreadcrumbLink ($title= '', $link= '', $home=false) | |
addConfigBoxLine ($value= '', $type= 'default') | |
addInfoBox ($title, $type= 'default', $extra= '') | |
addInfoBoxLine ($text= '', $type= 'default', $color= 'inherit') | |
addItemButton ($title, $link, $icon= 'add', $extra= '') | |
addTips ($text= '') | |
displayAbout ($logo_xoops=true) | |
displayBreadcrumb () | |
displayButton ($position="floatright", $delimiter=" ") | |
displayIndex () | |
displayInfoBox () | |
displayNavigation ($menu= '') | |
displayTips () | |
renderAbout ($logo_xoops=true) | |
renderBreadcrumb () | |
renderButton ($position="floatright", $delimiter=" ") | |
renderIndex () | |
renderInfoBox () | |
renderNavigation ($menu= '') | |
renderTips () | |
Public Attributes | |
$tplFile | |
$tplModule = 'system' | |
Private Member Functions | |
getTplPath ($type= '') | |
Private Attributes | |
$bread = array() | |
$itemButton = array() | |
$itemConfigBoxLine = array() | |
$itemInfoBox = array() | |
$module = null | |
$tips = '' | |
Xoops\Module\Admin::__construct | ( | ) |
Constructor
Definition at line 94 of file Admin.php.
References $xoops, and Xoops\getInstance().
Xoops\Module\Admin::addBreadcrumbLink | ( | $title = '' , |
|
$link = '' , |
|||
$home = false |
|||
) |
Xoops\Module\Admin::addConfigBoxLine | ( | $value = '' , |
|
$type = 'default' |
|||
) |
Add config line
string | $value | line value - a string or array of values |
string | $type | type of line default, folder, chmod, extension, module |
Definition at line 127 of file Admin.php.
References $text, $type, $xoops, XoopsLocaleEn_US\EF_EXTENSION_IS_NOT_INSTALLED, XoopsLocaleEn_US\EF_FOLDER_DOES_NOT_EXIST, XoopsLocaleEn_US\EF_FOLDER_MUST_BE_WITH_CHMOD, XoopsLocaleEn_US\EF_SERVICE_IS_NOT_INSTALLED, XoopsLocaleEn_US\F_MODULE_IS_INSTALLED, XoopsLocaleEn_US\F_MODULE_IS_NOT_INSTALLED, Xoops\getInstance(), XoopsLocaleEn_US\SF_EXTENSION_IS_INSTALLED, XoopsLocaleEn_US\SF_FOLDER_EXISTS, and XoopsLocaleEn_US\SF_SERVICE_IS_INSTALLED.
Referenced by Xoops\Module\Admin\renderIndex().
Xoops\Module\Admin::addInfoBox | ( | $title, | |
$type = 'default' , |
|||
$extra = '' |
|||
) |
Add Info box
string | $title | title |
string | $type | type |
string | $extra | extra |
Definition at line 246 of file Admin.php.
References $type.
Referenced by Xoops\Module\Admin\renderAbout().
Xoops\Module\Admin::addInfoBoxLine | ( | $text = '' , |
|
$type = 'default' , |
|||
$color = 'inherit' |
|||
) |
Xoops\Module\Admin::addItemButton | ( | $title, | |
$link, | |||
$icon = 'add' , |
|||
$extra = '' |
|||
) |
Xoops\Module\Admin::addTips | ( | $text = '' | ) |
Xoops\Module\Admin::displayAbout | ( | $logo_xoops = true | ) |
displayAbout
bool | $logo_xoops | display logo |
Definition at line 714 of file Admin.php.
References Xoops\Module\Admin\renderAbout().
Xoops\Module\Admin::displayBreadcrumb | ( | ) |
displayBreadcrumb
Definition at line 340 of file Admin.php.
References Xoops\Module\Admin\renderBreadcrumb().
Xoops\Module\Admin::displayButton | ( | $position = "floatright" , |
|
$delimiter = " " |
|||
) |
displayButton
string | $position | position |
string | $delimiter | delimiter |
Definition at line 371 of file Admin.php.
References Xoops\Module\Admin\renderButton().
Xoops\Module\Admin::displayIndex | ( | ) |
displayIndex
Definition at line 551 of file Admin.php.
References Xoops\Module\Admin\renderIndex().
Xoops\Module\Admin::displayInfoBox | ( | ) |
displayInfoBox
Definition at line 393 of file Admin.php.
References Xoops\Module\Admin\renderInfoBox().
Xoops\Module\Admin::displayNavigation | ( | $menu = '' | ) |
displayNavigation
string | $menu | current menu |
Definition at line 598 of file Admin.php.
References $menu, and Xoops\Module\Admin\renderNavigation().
Xoops\Module\Admin::displayTips | ( | ) |
displayTips
Definition at line 623 of file Admin.php.
References Xoops\Module\Admin\renderTips().
|
private |
Construct template path
string | $type | type |
Definition at line 318 of file Admin.php.
References $type.
Referenced by Xoops\Module\Admin\renderAbout(), Xoops\Module\Admin\renderBreadcrumb(), Xoops\Module\Admin\renderButton(), Xoops\Module\Admin\renderIndex(), Xoops\Module\Admin\renderInfoBox(), Xoops\Module\Admin\renderNavigation(), and Xoops\Module\Admin\renderTips().
Xoops\Module\Admin::renderAbout | ( | $logo_xoops = true | ) |
Render about page
bool | $logo_xoops | show logo |
Definition at line 635 of file Admin.php.
References $file, $i, $language, $xoops, Xoops\Module\Admin\addInfoBox(), Xoops\Module\Admin\addInfoBoxLine(), XoopsLocaleEn_US\C_DESCRIPTION, XoopsLocaleEn_US\C_UPDATE_DATE, XoopsLocaleEn_US\C_WEBSITE, Xoops_Locale_Abstract\formatTimestamp(), XoopsBaseConfig\get(), Xoops\getInstance(), Xoops\Module\Admin\getTplPath(), and XoopsLocaleEn_US\MODULE_INFORMATION.
Referenced by Xoops\Module\Admin\displayAbout().
Xoops\Module\Admin::renderBreadcrumb | ( | ) |
renderBreadcrumb
Definition at line 328 of file Admin.php.
References $xoops, Xoops\getInstance(), and Xoops\Module\Admin\getTplPath().
Referenced by Xoops\Module\Admin\displayBreadcrumb().
Xoops\Module\Admin::renderButton | ( | $position = "floatright" , |
|
$delimiter = " " |
|||
) |
Render all items buttons
string | $position | position |
string | $delimiter | delimiter |
Definition at line 353 of file Admin.php.
References $xoops, Xoops\getInstance(), and Xoops\Module\Admin\getTplPath().
Referenced by Xoops\Module\Admin\displayButton().
Xoops\Module\Admin::renderIndex | ( | ) |
Render index page for admin
Definition at line 403 of file Admin.php.
References $i, $j, $xoops, Xoops\Module\Admin\addConfigBoxLine(), XoopsLocaleEn_US\F_MINIMUM_DATABASE_VERSION_REQUIRED, XoopsLocaleEn_US\F_MINIMUM_PHP_VERSION_REQUIRED, XoopsLocaleEn_US\F_MINIMUM_XOOPS_VERSION_REQUIRED, XoopsLoad\fileExists(), XoopsBaseConfig\get(), Xoops\getInstance(), Xoops\Module\Admin\getTplPath(), XoopsLocaleEn_US\HELP, and Xoops\VERSION.
Referenced by Xoops\Module\Admin\displayIndex().
Xoops\Module\Admin::renderInfoBox | ( | ) |
Render InfoBox
Definition at line 381 of file Admin.php.
References $xoops, Xoops\getInstance(), and Xoops\Module\Admin\getTplPath().
Referenced by Xoops\Module\Admin\displayInfoBox().
Xoops\Module\Admin::renderNavigation | ( | $menu = '' | ) |
Render navigation to admin page
string | $menu | current menu |
Definition at line 563 of file Admin.php.
References $i, $menu, $xoops, XoopsLoad\fileExists(), Xoops\getInstance(), and Xoops\Module\Admin\getTplPath().
Referenced by Xoops\Module\Admin\displayNavigation().
Xoops\Module\Admin::renderTips | ( | ) |
Render tips to admin page
Definition at line 611 of file Admin.php.
References $xoops, Xoops\getInstance(), and Xoops\Module\Admin\getTplPath().
Referenced by Xoops\Module\Admin\displayTips().
|
private |
Xoops\Module\Admin::$tplFile |