{result}
'; if(IsSet($co[$c]['Header'])) $listing .= $co[$c]['Header']; $listing .= " | \n"; } $listing .= "
---|
'; $d = (IsSet($co[$c]['Column']) ? $co[$c]['Column'] : $c); if($this->view && IsSet($co[$c]['View'])) { $id = $co[$c]['View']; $parameters = array( $this->view_parameter => IsSet($ro[$r][$id]) ? $ro[$r][$id] : $r, ); if($this->read) $parameters[$this->page_parameter] = $this->page; $listing .= ''; $this->AppendTemplateData($template, $listing, $last_data); $this->GetListingData($c, $r, $d, HtmlSpecialChars($this->view_label), $t); $this->AppendTemplate($template, $t, $last_data); $listing = ''; } elseif($this->update && IsSet($co[$c]['Update'])) { $id = $co[$c]['Update']; $parameters = array( $this->update_parameter => IsSet($ro[$r][$id]) ? $ro[$r][$id] : $r, ); if($this->read) $parameters[$this->page_parameter] = $this->page; $listing .= ''; $this->AppendTemplateData($template, $listing, $last_data); $this->GetListingData($c, $r, $d, HtmlSpecialChars($this->update_label), $t); $this->AppendTemplate($template, $t, $last_data); $listing = ''; } elseif($this->delete && IsSet($co[$c]['Delete'])) { $id = $co[$c]['Delete']; $parameters = array( $this->delete_parameter => IsSet($ro[$r][$id]) ? $ro[$r][$id] : $r, ); if($this->read) $parameters[$this->page_parameter] = $this->page; $listing .= ''; $this->AppendTemplateData($template, $listing, $last_data); $this->GetListingData($c, $r, $d, HtmlSpecialChars($this->delete_label), $t); $this->AppendTemplate($template, $t, $last_data); $listing = ''; } else { $this->AppendTemplateData($template, $listing, $last_data); $this->GetListingData($c, $r, $d, '', $t); $this->AppendTemplate($template, $t, $last_data); $listing = ''; } $listing .= " | \n"; } $listing .= "