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

load_site_text_for_usergroup()

Description

load_site_text_for_usergroup

supplying a user group id and then return to the defaults by supplying null. Supplying the $usergroup global value would be
more common to return to the site text of the logged in user.

Parameters

ColumnTypeDefaultDescription
$group: int|null
$pagename
$lang;
$group int $usergroup value. Normally int however maybe null for activity before login e.g. load user group site text for an activity by

This article was last updated 26th July 2025 08:05 Europe/London time based on the source file dated 25th July 2025 13:30 Europe/London time.