Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
mod_book\helper Class Reference

Static Public Member Functions

static is_last_visible_chapter (int $chapterid, array $chapters)
 Check if we are on the last visible chapter of the book.
 

Member Function Documentation

◆ is_last_visible_chapter()

static mod_book\helper::is_last_visible_chapter ( int $chapterid,
array $chapters )
static

Check if we are on the last visible chapter of the book.

Parameters
int$chapterid
array$chapterschapter list provided by book_preload_chapters
See also
book_preload_chapters
Return values
bool

The documentation for this class was generated from the following file: