|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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 |