public function prepareTableValue($data, XMLElement $link = null, $entry_id = null)
 {
     $role_id = $this->getActivationRole($entry_id, $data['role_id']);
     $role = RoleManager::fetch($role_id);
     return parent::prepareTableValue(array('value' => $role instanceof Role ? General::sanitize($role->get('name')) : null), $link, $entry_id);
 }
 public function prepareTableValue($data, XMLElement $link = NULL, $entry_id = null)
 {
     return parent::prepareTableValue(array('value' => $data['activated'] == 'yes' ? __('Activated') : __('Not Activated')), $link, $entry_id);
 }