Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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 |