public function getOtherRolesTableHTML() { global $lng, $rbacreview; $arrLocalRoles = $rbacreview->getLocalRoles($this->parent_object->getRefId()); $html = ""; foreach ($arrLocalRoles as $role_id) { $ilObjRole = new ilObjRole($role_id); if (!preg_match("/il_orgu_/", $ilObjRole->getUntranslatedTitle())) { $other_roles_table = new ilOrgUnitOtherRolesTableGUI($this, 'other_role_' . $role_id, $role_id); $other_roles_table->readData(); $html .= $other_roles_table->getHTML() . "<br/>"; } } if (!$html) { $html = $lng->txt("no_roles"); } return $html; }