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 Content-ElementPraxisEin BeispielmodulDas Modul anlegenErstellung undKonfigurationErgebnisContent_ch_FlowPlayer.php➔➔➔Stellt ein Content-Element FlowPlayer im FE zur VerfügungTemplate-Variable setzenCode für das Template einfügenclass Content_chFlowPlayer extends Module{/*** Template* @var string*/protected $strTemplate = 'ce_ch_flowplayer';/*** Generate module*/protected function compile(){PHP-LOGIK FÜR DAS TEMPLATEUsertreffen 2009:<strong>Modulentwicklung</strong>}}de la Haye Kommunikationsdesign • Viersen • delahaye.de Seite 32 / 45