Modulentwicklung. - Contao
Modulentwicklung. - Contao
Modulentwicklung. - Contao
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
Anpassung: Logik Modul ReaderPraxisEin BeispielmodulDas Modul anlegenErstellung undKonfigurationErgebnisModule_ch_FlowPlayerReader.php➔➔➔➔Stellt ein Modul FlowPlayer Reader im FE zur VerfügungTemplate-Variable setzenCode für BE-Darstellung analog zuModule_ch_FlowPlayerList.php einfügenCode für das Template einfügenclass Module_chFlowPlayerReader extends Module{protected $strTemplate = 'mod_ch_flowplayer_reader';public function generate(){DARSTELLUNG DES MODULS IM BEANALOG ZU Module_ch_FlowPlayerList.php}}protected function compile(){PHP-LOGIK FÜR DAS TEMPLATE}Usertreffen 2009:<strong>Modulentwicklung</strong>de la Haye Kommunikationsdesign • Viersen • delahaye.de Seite 35 / 45