diff --git a/View/Helper/TableListHelper.php b/View/Helper/TableListHelper.php index 2c550006..332ee731 100644 --- a/View/Helper/TableListHelper.php +++ b/View/Helper/TableListHelper.php @@ -60,13 +60,19 @@ public function __call($method, $params) { /** * ``を表示する * + * @param string $tableType テーブル種別 `table-hover`,`table-striped`,`table-bordered`,`table-condensed` * @return string HTML + * @see http://getbootstrap.com/css/#tables */ - public function startTable() { + public function startTable($tableType = 'table-hover') { $html = ''; + if ($tableType) { + $tableType = ' ' . $tableType; + } + $html .= '
'; - $html .= '
'; + $html .= '
'; return $html; }