public function index() { $rows = $this->getRows(); foreach ($rows as $k => $id) { $pp = new PaymentProcessor(); $pp->loadId($id->id); if ($pp->fullInit()) { $rows[$k] = $pp; } } HTML_AcctExp::listProcessors($rows, $this->getPagination()); }