The gradebook simple view - initial view to select your search options.
More...
|
stdClass | $item |
| course data.
|
|
|
| load_users () |
| Load a valid list of users for this gradebook as the screen "items".
|
|
|
context_course | $context |
| The course context $context.
|
|
stdClass | $course |
| To store course data.
|
|
int | $courseid |
| The id of the course $courseid.
|
|
int | $groupid |
| The currently set groupid (if set) $groupid.
|
|
int null | $itemid |
| Either a user id or a grade_item id $itemid.
|
|
array | $items |
| List of items on the page, they could be users or grade_items $items.
|
|
int | $page |
| The page number $page.
|
|
int | $perpage |
| Results per page $perpage.
|
|
grade_structure | $structure |
| General structure representing grade items in course.
|
|
|
static int | $maxperpage = 5000 |
| Maximum number of students that can be shown on one page.
|
|
static array | $validperpage = [20, 100] |
| List of allowed values for 'perpage' setting $validperpage.
|
|
The gradebook simple view - initial view to select your search options.
- Deprecated
- since Moodle 4.3
- Copyright
- 2014 Moodle Pty Ltd (http://moodle.com)
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ display_group_selector()
gradereport_singleview\local\screen\select::display_group_selector |
( |
| ) |
|
◆ fetch_grade_or_default()
gradereport_singleview\local\screen\screen::fetch_grade_or_default |
( |
grade_item | $item, |
|
|
int | $userid ) |
|
inherited |
◆ format_link()
gradereport_singleview\local\screen\screen::format_link |
( |
string | $screen, |
|
|
int | $itemid, |
|
|
bool | $display = null ) |
|
inherited |
Create a nice link from a thing (user or grade_item).
- Parameters
-
string | $screen | |
int | $itemid | |
bool | null | $display | Should we wrap this in an anchor ? |
- Return values
-
◆ heading()
gradereport_singleview\local\screen\select::heading |
( |
| ) |
|
◆ html()
gradereport_singleview\local\screen\select::html |
( |
| ) |
|
◆ init() [1/2]
gradereport_singleview\local\screen\screen::init |
( |
bool | $selfitemisempty = false | ) |
|
|
abstractinherited |
Override this to init the screen.
- Parameters
-
boolean | $selfitemisempty | True if no item has been selected yet. |
◆ init() [2/2]
gradereport_singleview\local\screen\select::init |
( |
| $selfitemisempty = false | ) |
|
Initialise this screen.
- Deprecated
- since Moodle 4.3
- Parameters
-
bool | $selfitemisempty | Has an item been selected (will be false) |
◆ item_type()
gradereport_singleview\local\screen\select::item_type |
( |
| ) |
|
◆ load_users()
gradereport_singleview\local\screen\screen::load_users |
( |
| ) |
|
|
protectedinherited |
Load a valid list of users for this gradebook as the screen "items".
- Deprecated
- since Moodle 4.3
- Return values
-
array | A list of enroled users. |
◆ options()
gradereport_singleview\local\screen\screen::options |
( |
| ) |
|
|
inherited |
◆ pager()
gradereport_singleview\local\screen\screen::pager |
( |
| ) |
|
|
inherited |
◆ perpage_select()
gradereport_singleview\local\screen\screen::perpage_select |
( |
| ) |
|
|
inherited |
Allow selection of number of items to display per page.
- Return values
-
◆ process()
gradereport_singleview\local\screen\screen::process |
( |
| $data | ) |
|
|
inherited |
◆ supports_next_prev()
gradereport_singleview\local\screen\select::supports_next_prev |
( |
| ) |
|
◆ supports_paging()
gradereport_singleview\local\screen\select::supports_paging |
( |
| ) |
|
The documentation for this class was generated from the following file:
- grade/report/singleview/classes/local/screen/select.php