Cheetah
Functions | Variables
db.php File Reference

Go to the source code of this file.

Functions

 getActionResultBlock ()
 
 getTablesBackupTools ($status_text)
 
 DatabaseBackupTools ($status_text)
 
 getDatabaseRestoreBlock ($status_text)
 

Variables

 $logged ['admin'] = member_auth(1, true, true)
 
 $aEnabledDbAction
 
 $oZ
 
 $sStatusText = $sStatusTextRestore = ''
 
if(isset($aEnabledDbAction['perform'])) list($sStatusText $sStatusTextRestore = getActionResultBlock()
 
 $sRestoreC = _t('_adm_dbtools_Database_restore')
 
 $sTablesBackupToolsBlock = getTablesBackupTools($sStatusText)
 
 $sDatabaseBackupToolsBlock = DatabaseBackupTools($sStatusText)
 
 $sDatabaseRestoreBlock = getDatabaseRestoreBlock($sStatusText)
 
 $sBoxContent =
 
 $aTopItems
 
 $sResult = DesignBoxAdmin(_t('_adm_dbtools_title'), $sStatusText . $sBoxContent, $aTopItems)
 
 $iNameIndex = 15
 
 $_page
 
 $_page_cont [$iNameIndex]['page_main_code'] = $sResult
 

Function Documentation

◆ DatabaseBackupTools()

DatabaseBackupTools (   $status_text)

Definition at line 257 of file db.php.

◆ getActionResultBlock()

getActionResultBlock ( )

Definition at line 92 of file db.php.

◆ getDatabaseRestoreBlock()

getDatabaseRestoreBlock (   $status_text)

Definition at line 315 of file db.php.

◆ getTablesBackupTools()

getTablesBackupTools (   $status_text)

Definition at line 184 of file db.php.

Variable Documentation

◆ $_page

$_page
Initial value:
= array(
'name_index' => $iNameIndex,
'css_name' => array('forms_adv.css'),
'header' => _t('_adm_dbtools_title'),
)

Definition at line 74 of file db.php.

◆ $_page_cont

$_page_cont[ $iNameIndex][ 'page_main_code'] = $sResult

Definition at line 80 of file db.php.

◆ $aEnabledDbAction

$aEnabledDbAction
Initial value:
= array(
'perform' => 1,
)

Definition at line 17 of file db.php.

◆ $aTopItems

$aTopItems
Initial value:
= array(
'main_menu1' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:switchAdmPage(this)', 'title' => _t('_adm_dbtools_Tables_backup_tools'), 'active' => 1),
'main_menu2' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:switchAdmPage(this)', 'title' => _t('_adm_dbtools_Database_backup_tools'), 'active' => 0)
)

Definition at line 64 of file db.php.

◆ $iNameIndex

$iNameIndex = 15

Definition at line 73 of file db.php.

◆ $logged

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

Definition at line 14 of file db.php.

◆ $oZ

$oZ
Initial value:
= new ChWsbAlerts('system', 'admin_db_backup_actions', 0, 0, array(
'actions' => &$aEnabledDbAction
))

Definition at line 20 of file db.php.

◆ $sBoxContent

$sBoxContent =

Definition at line 35 of file db.php.

◆ $sDatabaseBackupToolsBlock

$sDatabaseBackupToolsBlock = DatabaseBackupTools($sStatusText)

Definition at line 32 of file db.php.

◆ $sDatabaseRestoreBlock

$sDatabaseRestoreBlock = getDatabaseRestoreBlock($sStatusText)

Definition at line 33 of file db.php.

◆ $sRestoreC

$sRestoreC = _t('_adm_dbtools_Database_restore')

Definition at line 29 of file db.php.

◆ $sResult

$sResult = DesignBoxAdmin(_t('_adm_dbtools_title'), $sStatusText . $sBoxContent, $aTopItems)

Definition at line 69 of file db.php.

◆ $sStatusText

$sStatusText = $sStatusTextRestore = ''

Definition at line 25 of file db.php.

◆ $sStatusTextRestore

if (isset( $aEnabledDbAction[ 'perform'])) list( $sStatusText $sStatusTextRestore = getActionResultBlock()

Definition at line 27 of file db.php.

◆ $sTablesBackupToolsBlock

$sTablesBackupToolsBlock = getTablesBackupTools($sStatusText)

Definition at line 31 of file db.php.

ChWsbAlerts
Definition: ChWsbAlerts.php:39
$aEnabledDbAction
$aEnabledDbAction
Definition: db.php:17
_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition: languages.inc.php:509
$iNameIndex
$iNameIndex
Definition: db.php:73