getData(); switch ($column->getId()) { case 'name': return array('label' => $subscriptionType->getLocalizedName()); case 'type': return array('label' => __($subscriptionType->getInstitutional()?'manager.subscriptionTypes.institutional':'manager.subscriptionTypes.individual')); case 'duration': return array('label' => $subscriptionType->getDurationYearsMonths()); case 'cost': return array('label' => sprintf('%.2f', $subscriptionType->getCost()) . ' (' . $subscriptionType->getCurrencyStringShort() . ')'); } assert(false); } } ?>