I do already have it in the statsview.php file, but for some reason it is unable to call the trophies.
An excerpt of my getTable function within statsview.php:
PHP Code:
private function getTable($name, LinkedList $list){
$table = new TableBuilder($name);
$table->setAlign(new Align("center", "middle"));
$table->buildHeaders("Image", "Name", "Owner", "Total Clicks", "Trophies");
$table->setHelper(new AdoptTableHelper);
$iterator = $list->iterator();
while($iterator->hasNext()){
$adopt = $iterator->next();
$cells = new LinkedList;
$cells->add(new TCell($table->getHelper()->getLevelupLink($adopt)));
$cells->add(new TCell($adopt->getName()));
$cells->add(new TCell($table->getHelper()->getOwnerProfile($adopt->getOwner())));
$cells->add(new String($adopt->getTotalClicks()));
$cells->add(new TCell($adopt->getTrophies));
$table->buildRow($cells);
}
return $table;
}