示例#1
0
文件: Parser.php 项目: stof/Gitiki
 protected function blockTable($line, array $block = null)
 {
     $table = parent::blockTable($line, $block);
     if (null !== $table) {
         $table['element']['attributes']['class'] = 'table table-striped';
     }
     return $table;
 }
示例#2
0
文件: mycms.php 项目: jodier/myCMS
 protected function blockTable($Line, array $Block = null)
 {
     $Block = parent::blockTable($Line, $Block);
     if ($Block) {
         $Block['element']['attributes'] = array('class' => 'table table-striped');
         return $Block;
     }
 }