Cheetah
Functions | Variables
cache.php File Reference

Go to the source code of this file.

Functions

 PageCodeClear ()
 
 PageCodeEngines ()
 
 PageCodeSettings ()
 

Variables

 $logged ['admin'] = member_auth(1, true, true)
 
 $aCacheTypes
 
 $oCacheUtilities = new ChWsbCacheUtilities()
 
if(!empty($_POST['clear_cache'])) $iNameIndex = 3
 
 $_page
 
 $aPages
 
else $sMode = $_GET['mode']
 
 $aTopItems = array()
 
 $_page ['css_name'] = 'cache.css'
 
 $_page_cont [$iNameIndex]['page_main_code'] = call_user_func_array($aPages[$sMode]['func'], $aPages[$sMode]['func_params'])
 

Function Documentation

◆ PageCodeClear()

PageCodeClear ( )

Definition at line 123 of file cache.php.

◆ PageCodeEngines()

PageCodeEngines ( )

Definition at line 156 of file cache.php.

◆ PageCodeSettings()

PageCodeSettings ( )

Definition at line 166 of file cache.php.

Variable Documentation

◆ $_page [1/2]

$_page
Initial value:
= array(
'name_index' => $iNameIndex,
'css_name' => array(),
'js_name' => array(),
'header' => _t('_adm_txt_cache'),
'header_text' => _t('_adm_txt_cache'),
)

Definition at line 76 of file cache.php.

◆ $_page [2/2]

$_page[ 'css_name'] = 'cache.css'

Definition at line 118 of file cache.php.

◆ $_page_cont

$_page_cont[ $iNameIndex][ 'page_main_code'] = call_user_func_array($aPages[$sMode]['func'], $aPages[$sMode]['func_params'])

Definition at line 119 of file cache.php.

◆ $aCacheTypes

$aCacheTypes
Initial value:
= array (
array('action' => 'all', 'title' => _t('_adm_txt_dashboard_cache_all')),
array('action' => 'db', 'title' => _t('_adm_txt_dashboard_cache_db')),
array('action' => 'pb', 'title' => _t('_adm_txt_dashboard_cache_pb')),
array('action' => 'template', 'title' => _t('_adm_txt_dashboard_cache_template')),
array('action' => 'css', 'title' => _t('_adm_txt_dashboard_cache_css')),
array('action' => 'js', 'title' => _t('_adm_txt_dashboard_cache_js')),
array('action' => 'users', 'title' => _t('_adm_txt_dashboard_cache_users')),
array('action' => 'member_menu', 'title' => _t('_adm_txt_dashboard_cache_member_menu')),
)

Definition at line 19 of file cache.php.

◆ $aPages

$aPages
Initial value:
= array (
'clear' => array (
'title' => _t('_adm_txt_clear_cache'),
'url' => CH_WSB_URL_ADMIN . 'cache.php?mode=clear',
'func' => 'PageCodeClear',
'func_params' => array(),
),
'engines' => array (
'title' => _t('_adm_admtools_cache_engines'),
'url' => CH_WSB_URL_ADMIN . 'cache.php?mode=engines',
'func' => 'PageCodeEngines',
'func_params' => array(),
),
'settings' => array (
'title' => _t('_Settings'),
'url' => CH_WSB_URL_ADMIN . 'cache.php?mode=settings',
'func' => 'PageCodeSettings',
'func_params' => array(),
),
)

Definition at line 84 of file cache.php.

◆ $aTopItems

$aTopItems = array()

Definition at line 110 of file cache.php.

◆ $iNameIndex

if (!empty( $_POST[ 'clear_cache'])) $iNameIndex = 3

Definition at line 75 of file cache.php.

◆ $logged

$logged[ 'admin'] = member_auth(1, true, true)

Definition at line 17 of file cache.php.

◆ $oCacheUtilities

$oCacheUtilities = new ChWsbCacheUtilities()

Definition at line 30 of file cache.php.

◆ $sMode

else $sMode = $_GET['mode']

Definition at line 108 of file cache.php.

_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition: languages.inc.php:509
$iNameIndex
if(!empty($_POST['clear_cache'])) $iNameIndex
Definition: cache.php:75