function execute() { $solr = new tx_he_tools_solr(); $solr->updateDisabledSolrPages(); return $solr->submitDeletedPages(); }
/** * Generates the module content * * @return void */ function moduleContent() { $util = new he_backend_util(); switch ((string) $this->MOD_SETTINGS['function']) { case '1a': $this->content .= $this->pers_verwaltung->backend(); break; case '1b': $this->content .= $this->pers_verwaltung->frontend(); break; case '1c': $this->content .= $this->pers_verwaltung->addBackendUser(); break; case '2': $this->content .= $this->seitenbaumAktionen($this->id); break; case 3: $this->content .= $this->bearbeiterAnzeigen($this->id); break; case 4: $app = new tx_he_tools_be_mountpoints(); $this->content .= $app->temporaraerenMountPointAuswaehlen($this->id); break; case 5: $this->content .= $util->artikelExporte(); break; case 7: // $lsfTest = new tx_he_tools_lsf(); // $this->content .= $lsfTest->test($this->MCONF['_']); break; case 8: $app = new he_tools_sys_logs(); $this->content .= $app->main($this->id); break; case 10: $app = new tx_he_tools_alias(); $this->content .= $app->main($this, $this->id); break; case 11: $app = new tx_he_tools_portal(); $this->content .= $app->main($this, $this->id); break; case 12: $app = new tx_he_tools_solr(); $this->content .= $app->main($this, $this->id); break; case 101: $this->content .= $this->qsmDatenImportieren(); break; case 102: $buchungen = new tx_he_tools_veranstaltungs_buchung(); $this->content .= $buchungen->backend_util($this->id); break; case 103: $zeitschriften = new tx_he_tools_zeitschriftenlisten('tx_he_tools'); $zeitschriften->gibZeitschriftenListe($zeitschriftenListe); $this->exportiereZeitschriftenListe($zeitschriftenListe); break; case 104: $app = new tx_he_surveys_lib_import(); $this->content .= $app->main($this->id, $this->file); break; case 105: $this->content .= $this->bearbeiterExportieren($this->id); break; case 106: $this->content .= $this->seitenRedakteureExportieren($this->id); break; case 107: $app = new tx_he_tools_qr_codes(); $this->content .= $app->main($this, $this->id); break; case 999: $this->content .= $this->testfunktion(); break; /* case 99: $this->content .= $util->firmendaten_exportieren($this->id); break; case 101: $werMachtWas = new he_werMachtWas(); $this->content .= $werMachtWas->importWerMachtWas(); break; */ /* case 99: $this->content .= $util->firmendaten_exportieren($this->id); break; case 101: $werMachtWas = new he_werMachtWas(); $this->content .= $werMachtWas->importWerMachtWas(); break; */ default: $this->content .= (string) $this->MOD_SETTINGS['function']; break; } }