Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

get_featured_collection_categories()

Description

Get featured collection categories

on the admin_group_permissions.php where we want to see all available featured collection categories).

Parameters

ColumnTypeDefaultDescription
$parent integer The ref of the parent collection.
$ctx array Extra context for get_featured_collections(). Mostly used for overriding access control (e.g

Return

array

Location

include/collections_functions.php lines 5770 to 5773

Definition

 
function get_featured_collection_categories(int $parent, array $ctx)
    {
    return 
array_values(array_filter(get_featured_collections($parent$ctx), "is_featured_collection_category"));
    }

This article was last updated 4th December 2024 08:35 Europe/London time based on the source file dated 27th November 2024 15:30 Europe/London time.