public function addCustomLayoutSectionsHook(DataContainer $dc)
    {
        $arrSections = $this->getActiveLayoutSections($dc);
        if (isset($GLOBALS['TL_HOOKS']['addLayoutSections']) && is_array($GLOBALS['TL_HOOKS']['addLayoutSections'])) {
            foreach ($GLOBALS['TL_HOOKS']['addLayoutSections'] as $arrCustomSections) {
                if (is_array($arrCustomSections) && count($arrCustomSections) > 0) {
                    foreach ($arrCustomSections as $k => $v) {
                        if (empty($v))
                            $arrCustomSections[$k] = $k;
                    }
                    $arrSections = array_merge($arrSections, $arrCustomSections);
                }
            }
        }
        return $arrSections;
    }
public function addCustomLayoutSectionsHook(DataContainer $dc)
    {
        $arrSections = $this->getActiveLayoutSections($dc);
        if (isset($GLOBALS['TL_HOOKS']['addLayoutSections']) && is_array($GLOBALS['TL_HOOKS']['addLayoutSections'])) {
            foreach ($GLOBALS['TL_HOOKS']['addLayoutSections'] as $arrCustomSections) {
                if (is_array($arrCustomSections) && count($arrCustomSections) > 0) {
                    foreach ($arrCustomSections as $k => $v) {
                        if (empty($v))
                            $arrCustomSections[$k] = $k;
                    }
                    $arrSections = array_merge($arrSections, $arrCustomSections);
                }
            }
        }
        return $arrSections;
    }
public function addCustomLayoutSectionsHook ( DataContainer $ dc ) { $ arrSections = $ this -> getActiveLayoutSections ( $ dc ) ; if ( isset ( $ GLOBALS [ 'TL_HOOKS' ] [ 'addLayoutSections' ] ) && is_array ( $ GLOBALS [ 'TL_HOOKS' ] [ 'addLayoutSections' ] ) ) { foreach ( $ GLOBALS [ 'TL_HOOKS' ] [ 'addLayoutSections' ] as $ arrCustomSections ) { if ( is_array ( $ arrCustomSections ) && count ( $ arrCustomSections ) > 0 ) { foreach ( $ arrCustomSections as $ k => $ v ) { if ( empty ( $ v ) ) $ arrCustomSections [ $ k ] = $ k ; } $ arrSections = array_merge ( $ arrSections , $ arrCustomSections ) ; } } } return $ arrSections ; }
Costum Column Hack

@param DataContainer $dc

@return array
Costum Column Hack