Ejemplo n.º 1
0
 /**
  * When refreshing the body of a paginated table, get the rows of the table (inside the TBODY)
  * return string The HTML rows to insert inside the <tbody> node
  */
 public function GetAsHTMLTableRows(WebPage $oPage, $iPageSize, $aColumns, $sSelectMode, $bViewLink, $aExtraParams)
 {
     $aAttribs = $this->GetHTMLTableConfig($aColumns, $sSelectMode, $bViewLink);
     $aValues = $this->GetHTMLTableValues($aColumns, $sSelectMode, $iPageSize, $bViewLink, $aExtraParams);
     $sHtml = '';
     foreach ($aValues as $aRow) {
         $sHtml .= $oPage->GetTableRow($aRow, $aAttribs);
     }
     return $sHtml;
 }