arrDbFields[] = $DbFieldName; $this->arrColumnLabel[] = $ColumnName; $this->arrImagePaths[] = $imagepath; } public function showResults($resultsoutput, $idfield, $edit_handler, $delete_handler, $arrcustom_handlers = array()) { $numCols = count($this->arrColumnLabel); $numcustomHandlers = count($arrcustom_handlers); for ($i=0; $i < $numCols; $i++) { $intestRow .= "
" . __('Still no data available.','abctest_lbl') . "
| ";
if ($this->ReorderMode && $i == 0) {
printf('', $numpost->{$idfield});
}
if ($this->arrImagePaths[$i] != NULL) { // Immagine
$imgpth = $this->arrImagePaths[$i] . $numpost->{$this->arrDbFields[$i]};
echo " \n"; echo "" . __('edit','abctest_lbl') . " | "; echo "" . __('delete','abctest_lbl') . ""; } echo " | \n";
}
if ($numcustomHandlers > 0) {
foreach($arrcustom_handlers as $val => $handlr) {
printf('%s | ', $handlr, $numpost->{$idfield}, $val); } } echo "