Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
|
Static Public Member Functions | |
static | can_add_subsection (section_info $section, ?int $userid=null) |
Whether given user can add a subsection in a section. | |
|
static |
Whether given user can add a subsection in a section.
section_info | $section | the course section |
int | null | $userid | User ID to check, or the current user if omitted |
bool |