Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: