本文整理汇总了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'];
}