public static function fetchAvailablePageTypes()
    {
        $system_types = array('index', 'XML', 'JSON', 'admin', '404', '403');

        $types = PageManager::fetchPageTypes();

        return (!empty($types) ? General::array_remove_duplicates(array_merge($system_types, $types)) : $system_types);
    }
public static function fetchAvailablePageTypes()
    {
        $system_types = array('index', 'XML', 'JSON', 'admin', '404', '403');

        $types = PageManager::fetchPageTypes();

        return (!empty($types) ? General::array_remove_duplicates(array_merge($system_types, $types)) : $system_types);
    }
public static function fetchAvailablePageTypes ( ) { $ system_types = array ( 'index' , 'XML' , 'JSON' , 'admin' , '404' , '403' ) ; $ types = PageManager :: fetchPageTypes ( ) ; return ( ! empty ( $ types ) ? General :: array_remove_duplicates ( array_merge ( $ system_types , $ types ) ) : $ system_types ) ; }
Returns all the page types that exist in this Symphony install.
There are 6 default system page types, and new types can be added
by Developers via the Page Editor.

@since Symphony 2.3 introduced the JSON type.
@return array
An array of strings of the page types used in this Symphony
install. At the minimum, this will be an array with the values
'index', 'XML', 'JSON', 'admin', '404' and '403'.
Returns all the page types that exist in this Symphony install . There are 6 default system page types and new types can be added by Developers via the Page Editor .