/**
  *
  * @see CTAbstractModule::getMasterDataTablenames()
  */
 public function getMasterDataTablenames()
 {
     $res = array();
     $res[1] = churchcore_getMasterDataEntry(1, t("query"), "query", "crp_query", "sortkey,bezeichnung");
     $res[2] = churchcore_getMasterDataEntry(2, t("report"), "report", "crp_report", "sortkey,bezeichnung");
     return $res;
 }
 /**
  * @see CTAbstractModule::getMasterDataTablenames()
  */
 public function getMasterDataTablenames()
 {
     $res = array();
     $res[1] = churchcore_getMasterDataEntry(1, "Ressource", "resources", "cr_resource", "resourcetype_id,sortkey,bezeichnung");
     $res[2] = churchcore_getMasterDataEntry(2, "Ressourcen-Typ", "resourceTypes", "cr_resourcetype");
     $res[3] = churchcore_getMasterDataEntry(3, "Status", "status", "cr_status");
     return $res;
 }
 public function getMasterDataTablenames()
 {
     $res = array();
     //$res[2]=churchcore_getMasterDataEntry(2, "Service", "service", "cs_service");
     $res[3] = churchcore_getMasterDataEntry(3, "Service-Gruppe", "servicegroup", "cs_servicegroup", "sortkey");
     //$res[4]=churchcore_getMasterDataEntry(4, "Event-Kategorien", "category", "cs_category","sortkey");
     $res[5] = churchcore_getMasterDataEntry(5, "Abwesenheitsgrund", "absent_reason", "cs_absent_reason", "sortkey");
     $res[6] = churchcore_getMasterDataEntry(6, "Fakten", "fact", "cs_fact", "sortkey");
     $res[7] = churchcore_getMasterDataEntry(7, "Song-Kategorien", "songcategory", "cs_songcategory", "sortkey");
     return $res;
 }
 public function getMasterDataTablenames()
 {
     $res = array();
     $res[1] = churchcore_getMasterDataEntry(1, "Wiki-Kategorien", "wikicategory", "cc_wikicategory", "sortkey,bezeichnung");
     return $res;
 }
/**
 * get masterdata tablenames
 * @return array
 */
function churchdb_getMasterDataTablenames()
{
    $res = array();
    // don't change numbers, statistic is correlated with it!
    $res[1] = churchcore_getMasterDataEntry(1, "Status", "status", "cdb_status");
    $res[1]["special_func"] = array("name" => "Berechtigungen", "image" => "schluessel", "func" => "editAuth");
    $res[2] = churchcore_getMasterDataEntry(2, "Station", "station", "cdb_station");
    $res[3] = churchcore_getMasterDataEntry(3, "Bereich", "dep", "cdb_bereich");
    $res[4] = churchcore_getMasterDataEntry(4, "Geschlecht", "sex", "cdb_geschlecht");
    $res[5] = churchcore_getMasterDataEntry(5, "Gruppen-Typen", "groupTypes", "cdb_gruppentyp");
    $res[6] = churchcore_getMasterDataEntry(6, "Familienstand", "familyStatus", "cdb_familienstand");
    $res[7] = churchcore_getMasterDataEntry(7, "Distrikt", "districts", "cdb_distrikt", "bezeichnung");
    $res[8] = churchcore_getMasterDataEntry(8, "Beziehungstyp", "relationType", "cdb_beziehungstyp");
    $res[9] = churchcore_getMasterDataEntry(9, "Kommentare-Viewer", "comment_viewer", "cdb_comment_viewer", "bezeichnung");
    $res[10] = churchcore_getMasterDataEntry(10, "FollowUp-Typen", "followupTypes", "cdb_followup_typ", "id");
    $res[11] = churchcore_getMasterDataEntry(11, "FollowUp-Typen-Intervalle", "followupTypIntervall", "cdb_followup_typ_intervall", "followup_typ_id,count_no");
    $res[13] = churchcore_getMasterDataEntry(13, "Nationalitaet", "nationalitaet", "cdb_nationalitaet");
    $res[14] = churchcore_getMasterDataEntry(14, "Gruppenteilnehmestatus", "groupmembertypes", "cdb_gruppenteilnehmerstatus", "bezeichnung");
    // $res[14]=churchcore_getMasterDataEntry(14, "Newsletter", "newsletter", "cdb_newsletter");
    return $res;
}