本文整理匯總了PHP中PMA_Tracker::add_drop_database方法的典型用法代碼示例。如果您正苦於以下問題:PHP PMA_Tracker::add_drop_database方法的具體用法?PHP PMA_Tracker::add_drop_database怎麽用?PHP PMA_Tracker::add_drop_database使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類PMA_Tracker
的用法示例。
在下文中一共展示了PMA_Tracker::add_drop_database方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: init
/**
* Initializes settings.
*
* @static
*
* @return void
*/
protected static function init()
{
self::$pma_table = PMA_Util::backquote($GLOBALS['cfg']['Server']['pmadb']) . '.' . PMA_Util::backquote($GLOBALS['cfg']['Server']['tracking']);
self::$add_drop_table = $GLOBALS['cfg']['Server']['tracking_add_drop_table'];
self::$add_drop_view = $GLOBALS['cfg']['Server']['tracking_add_drop_view'];
self::$add_drop_database = $GLOBALS['cfg']['Server']['tracking_add_drop_database'];
self::$default_tracking_set = $GLOBALS['cfg']['Server']['tracking_default_statements'];
self::$version_auto_create = $GLOBALS['cfg']['Server']['tracking_version_auto_create'];
}
示例2: init
/**
* Initializes settings. See phpMyAdmin/Documentation.html.
*
* @static
*
* @return void
*/
static protected function init()
{
$common_functions = PMA_CommonFunctions::getInstance();
self::$pma_table = $common_functions->backquote($GLOBALS['cfg']['Server']['pmadb']) .".".
$common_functions->backquote($GLOBALS['cfg']['Server']['tracking']);
self::$add_drop_table = $GLOBALS['cfg']['Server']['tracking_add_drop_table'];
self::$add_drop_view = $GLOBALS['cfg']['Server']['tracking_add_drop_view'];
self::$add_drop_database
= $GLOBALS['cfg']['Server']['tracking_add_drop_database'];
self::$default_tracking_set
= $GLOBALS['cfg']['Server']['tracking_default_statements'];
self::$version_auto_create
= $GLOBALS['cfg']['Server']['tracking_version_auto_create'];
}