PMA\libraries\controllers\server\ServerDatabasesController::_getHtmlForNoticeEnableStatistics PHP Метод

_getHtmlForNoticeEnableStatistics() приватный Метод

Returns the html for Enable Statistics
private _getHtmlForNoticeEnableStatistics ( ) : string
Результат string
    private function _getHtmlForNoticeEnableStatistics()
    {
        $html = '';
        $notice = Message::notice(__('Note: Enabling the database statistics here might cause ' . 'heavy traffic between the web server and the MySQL server.'))->getDisplay();
        $html .= $notice;
        $items = array();
        $items[] = array('content' => '<strong>' . "\n" . __('Enable statistics') . '</strong><br />' . "\n", 'class' => 'li_switch_dbstats', 'url' => array('href' => 'server_databases.php' . $GLOBALS['url_query'] . '&amp;dbstats=1', 'title' => __('Enable statistics')));
        $html .= Template::get('list/unordered')->render(array('items' => $items));
        return $html;
    }