本文整理匯總了PHP中PMA_getListofMaintainActionLink函數的典型用法代碼示例。如果您正苦於以下問題:PHP PMA_getListofMaintainActionLink函數的具體用法?PHP PMA_getListofMaintainActionLink怎麽用?PHP PMA_getListofMaintainActionLink使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了PMA_getListofMaintainActionLink函數的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: PMA_getHtmlForTableMaintenance
/**
* Get HTML snippet for table maintenance
*
* @param boolean $is_myisam_or_aria whether MYISAM | ARIA or not
* @param boolean $is_innodb whether innodb or not
* @param boolean $is_berkeleydb whether berkeleydb or not
* @param array $url_params array of URL parameters
*
* @return string $html_output
*/
function PMA_getHtmlForTableMaintenance($is_myisam_or_aria, $is_innodb, $is_berkeleydb, $url_params)
{
$html_output = '<div class="operations_half_width">';
$html_output .= '<fieldset>' . '<legend>' . __('Table maintenance') . '</legend>';
$html_output .= '<ul id="tbl_maintenance">';
// Note: BERKELEY (BDB) is no longer supported, starting with MySQL 5.1
$html_output .= PMA_getListofMaintainActionLink($is_myisam_or_aria, $is_innodb, $url_params, $is_berkeleydb);
$html_output .= '</ul>' . '</fieldset>' . '</div>';
return $html_output;
}
示例2: PMA_getHtmlForTableMaintenance
/**
* Get HTML snippet for table maintence
*
* @param boolean $is_myisam_or_aria whether MYISAM | ARIA or not
* @param boolean $is_innodb whether innodb or not
* @param boolean $is_berkeleydb whether berkeleydb or not
* @param array $url_params array of URL parameters
*
* @return string $html_output
*/
function PMA_getHtmlForTableMaintenance($is_myisam_or_aria, $is_innodb, $is_berkeleydb, $url_params)
{
$common_functions = PMA_CommonFunctions::getInstance();
$html_output = '<div class="operations_half_width">';
$html_output .= '<fieldset>' . '<legend>' . __('Table maintenance') . '</legend>';
$html_output .= '<ul id="tbl_maintenance" ' . ($GLOBALS['cfg']['AjaxEnable'] ? ' class="ajax"' : '') . '>';
// Note: BERKELEY (BDB) is no longer supported, starting with MySQL 5.1
$html_output .= PMA_getListofMaintainActionLink($is_myisam_or_aria, $is_innodb, $url_params, $is_berkeleydb);
$html_output .= '</ul>' . '</fieldset>' . '</div>';
return $html_output;
}