public static function getAllowedPageTypes($pageId, $configurationName = 'pages')
    {
        $rootPath = '';
        $configuration = self::getConfigurationFromPageId($pageId, $rootPath);
        return $configuration->getIndexQueueAllowedPageTypesArrayByConfigurationName($configurationName);
    }
public static function getAllowedPageTypes($pageId, $configurationName = 'pages')
    {
        $rootPath = '';
        $configuration = self::getConfigurationFromPageId($pageId, $rootPath);
        return $configuration->getIndexQueueAllowedPageTypesArrayByConfigurationName($configurationName);
    }
public static function getAllowedPageTypes ( $ pageId , $ configurationName = 'pages' ) { $ rootPath = '' ; $ configuration = self :: getConfigurationFromPageId ( $ pageId , $ rootPath ) ; return $ configuration -> getIndexQueueAllowedPageTypesArrayByConfigurationName ( $ configurationName ) ; }
Get allowed page types

@param int $pageId Page ID
@param string $configurationName The name of the configuration to use.

@return array Allowed page types to compare to a doktype of a page record
Get allowed page types