Ok è abbastanza chiaro... questa tua struttura gestisce in todo le cosidette operazioni crud..

Ma per generare l'html come faresti?

Intedi creare un metodo taxcodeModel che ti restituisce ad esempio la forma tabellare del tuo oggetto Es :

taxcode.class.php
Codice PHP:
public GetTabletaxcode(){

    
$html ="<table>";
    
$html.="<td>id</td>";
    
$html.="<td>uid</td>";
    
$html.="<td>code</td>";      
    
$html.="<td>description</td>";                
    foreach (
getTaxcodebycode as $taxcode){
        
$html.="<td>".$taxcode['id']."</td>";
        
$html.="<td>".$taxcode['uid']."</td>";
        
$html.="<td>".$taxcode['code']."</td>";
        
$html.="<td>".$taxcode['description']."</td>";
    }
    
$html.="</table>";

taxcode.php
Codice PHP:
<?php
$taxcodeModel  
taxcodeModel($PDO);
$taxcodeModel-->GetTabletaxcode();
?>
Supponendo di non aver scritto una grandissima cazzata, come gestiresti la visualizzazione della singola taxcode in una form di modifica?