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

check_access_key()

Description

Verify a supplied external access key

excessive updating of external_access_keys. Resource keys will update if collection viewed later.

Parameters

ColumnTypeDefaultDescription
$resources array|integer Resource ID | Array of resource IDs
$key string The external access key
$checkcollection boolean true Check collection access key? true by default but required to prevent infinite recursion
$is_category boolean false True if checking featured collection category. Silently checks collection resources by preventing

Return

boolean Valid?

This article was last updated 14th February 2026 09:05 Europe/London time based on the source file dated 13th February 2026 16:15 Europe/London time.