. * * PHP version 5 * @copyright cgo IT, 2012-2013 * @author Carsten Götzinger (info@cgo-it.de) * @package aeo * @license GNU/LGPL * @filesource */ // Backwards compatibility for Contao < 3.5.1 if (!class_exists('StringUtil') && class_exists('String')) { class_alias('String', 'StringUtil'); } /** * Hooks */ $GLOBALS['TL_HOOKS']['getFrontendModule'][] = array('aeo\\AeoFrontendUtil', 'aeoGetFrontendModule'); $GLOBALS['TL_HOOKS']['getContentElement'][] = array('aeo\\AeoFrontendUtil', 'aeoGetContentElement'); $GLOBALS['TL_HOOKS']['outputFrontendTemplate'][] = array('aeo\\AeoFrontendUtil', 'obfuscateEmails'); $GLOBALS['TL_HOOKS']['getPageIdFromUrl'][] = array('aeo\\AeoRedirectUtil', 'getRedirectPageAeo'); /** * frontend moduls */ $GLOBALS['FE_MOD']['application']['aeo'] = 'aeo\\AeoModule'; /** * content elements */ $GLOBALS['TL_CTE']['includes']['aeo'] = 'aeo\\AeoCE'; /** * PageTypes */ $GLOBALS['TL_PTY']['root'] = 'aeo\\PageRoot_Aeo'; ?>