Source for file pnTheme.php
Documentation is available at pnTheme.php
* Zikula Application Framework
* @copyright (c) 2001, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: pnTheme.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* include theme.php for the requested theme
* @return bool true if successful, false otherwiese
LogUtil::log('Function pnThemeLoad() is deprecated. Please use ThemeUtil::load() instead.', 'STRICT');
* return a theme variable
* @return mixed theme variable value
LogUtil::log('Function pnThemeGetVar() is deprecated. Please use ThemeUtil::getVar() instead.', 'STRICT');
* list all available themes
* possible values of filter are
* PNTHEME_FILTER_ALL - get all themes (default)
* PNTHEME_FILTER_USER - get user themes
* PNTHEME_FILTER_SYSTEM - get system themes
* PNTHEME_FILTER_ADMIN - get admin themes
* @param filter - filter list of returned themes by type
* @return array of available themes
function pnThemeGetAllThemes($filter = PNTHEME_FILTER_ALL, $state = PNTHEME_STATE_ACTIVE, $type = PNTHEME_TYPE_ALL)
LogUtil::log('Function pnThemeGetAllThemes() is deprecated. Please use ThemeUtil::getAllThemes() instead.', 'STRICT');
* load the language file for a theme
LogUtil::log('Function pnThemeLangLoad() is deprecated. Please use ThemeUtil::loadLanguage() instead.', 'STRICT');
* get themeID given its name
* @link http://www.markwest.me.uk
* @param 'theme' the name of the theme
LogUtil::log('Function pnThemeGetIDFromName() is deprecated. Please use ThemeUtil::getIDFromName() instead.', 'STRICT');
* Returns information about a theme.
* @param string $themeid Id of the theme
* @return array the theme information
LogUtil::log('Function pnThemeGetInfo() is deprecated. Please use ThemeUtil::getInfo() instead.', 'STRICT');
* small wrapper function to avoid duplicate sql
* @return array modules table
function pnThemeGetThemesTable()
LogUtil::log('Function pnThemeGetThemesTable() is deprecated. Please use ThemeUtil::getThemesTable() instead.', 'STRICT');
|