system/modules/dma_elementgenerator/DMAElementGeneratorContent.php line 28

Open in your IDE?
  1. <?php
  2. /**
  3. * Contao Open Source CMS
  4. *
  5. * Copyright (c) 2005-2015 Leo Feyer
  6. *
  7. * @license LGPL-3.0+
  8. */
  9. namespace DMA;
  10. /**
  11. * Class DMAElementGeneratorContent
  12. *
  13. * the dynamic contentelement
  14. *
  15. * @copyright Dialog- und Medienagentur der ACS mbH 2010-2011
  16. * @author Carsten Kollmeier <kollmeier@dialog-medien.com>
  17. * @author Janosch Skuplik <skuplik@dma.do>
  18. * @package DMAElementGenerator
  19. */
  20. class DMAElementGeneratorContent extends \ContentElement
  21. {
  22. protected $strTemplate = 'ce_dma_eg';
  23. protected function compile()
  24. {
  25. $this->Import('DMA\\DMAElementGenerator','DMAElementGenerator');
  26. $this->Template->content = $this->DMAElementGenerator->generate($this);
  27. }
  28. }