get_isbd(); break; case 'get_collection': $authority = authorities_collection::get_authority(AUT_TABLE_COLLECTIONS, $entity_id); $entity_label = $authority->get_isbd(); break; case 'get_sub_collection': $authority = authorities_collection::get_authority(AUT_TABLE_SUB_COLLECTIONS, $entity_id); $entity_label = $authority->get_isbd(); break; } } } print encoding_normalize::json_encode(array('entity_id' => $entity_id, 'entity_label' => $entity_label));