示例#1
0
文件: Tr.php 项目: creativify/Grids
 /**
  * Returns tag content
  *
  * @return null|string
  */
 public function getContent()
 {
     return $this->getDataRow() ? $this->renderCells() : parent::getContent();
 }
示例#2
0
 /**
  * Initializes component with grid
  *
  * @param Grid $grid
  * @return null
  */
 public function initialize(Grid $grid)
 {
     $this->createHeaders($grid);
     parent::initialize($grid);
 }