本文整理汇总了PHP中PMA_getHtmlForOrderTheTable函数的典型用法代码示例。如果您正苦于以下问题:PHP PMA_getHtmlForOrderTheTable函数的具体用法?PHP PMA_getHtmlForOrderTheTable怎么用?PHP PMA_getHtmlForOrderTheTable使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PMA_getHtmlForOrderTheTable函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
$notNull = true;
foreach ($idx->getColumns() as $column) {
if ($column->getNull()) {
$notNull = false;
break;
}
}
if ($notNull) {
$hideOrderTable = true;
break;
}
}
}
}
if (!$hideOrderTable) {
$response->addHTML(PMA_getHtmlForOrderTheTable($columns));
}
/**
* Move table
*/
$response->addHTML(PMA_getHtmlForMoveTable());
if (mb_strstr($show_comment, '; InnoDB free') === false) {
if (mb_strstr($show_comment, 'InnoDB free') === false) {
// only user entered comment
$comment = $show_comment;
} else {
// here we have just InnoDB generated part
$comment = '';
}
} else {
// remove InnoDB comment from end, just the minimal part (*? is non greedy)
示例2: testGetHtmlForOrderTheTable
/**
* Test for PMA_getHtmlForOrderTheTable
*
* @return void
*/
public function testGetHtmlForOrderTheTable()
{
$this->assertRegExp('/.*tbl_operations.php(.|[\\n])*Alter table order by([\\n]|.)*order_order.*/m', PMA_getHtmlForOrderTheTable(array(array('Field' => "column1"), array('Field' => "column2"))));
}