Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
The core course renderer. More...
Public Member Functions | |
__construct (moodle_page $page, $target) | |
Override the constructor so that we can initialise the string cache. More... | |
__call ($method, $arguments) | |
Magic method used to pass calls otherwise meant for the standard renderer to it to ensure we don't go causing unnecessary grief. More... | |
add_action_handler (component_action $action, $id=null) | |
Adds a JS action for the element with the provided id. More... | |
add_new_course_button () | |
Returns HTML to the "add new course" button for the page. More... | |
availability_info ($text, $additionalclasses='') | |
Displays availability info for a course section or course module. More... | |
course_category ($category) | |
Renders HTML to display particular course category - list of it's subcategories and courses. More... | |
course_category_tree (array $ignored) | |
Renderers a structured array of courses and categories into a nice XHTML tree structure. More... | |
course_info_box (stdClass $course) | |
Renders course info box. More... | |
course_modchooser ($modules, $course) | |
Build the HTML for the module chooser javascript popup. More... | |
course_search_form ($value='', $format='plain') | |
Renders html to display a course search form. More... | |
course_section_add_cm_control ($course, $section, $sectionreturn=null, $displayoptions=array()) | |
Renders HTML for the menus to add activities and resources to the current course. More... | |
course_section_cm ($course, &$completioninfo, cm_info $mod, $sectionreturn, $displayoptions=array()) | |
Renders HTML to display one course module in a course section. More... | |
course_section_cm_availability (cm_info $mod, $displayoptions=array()) | |
Renders HTML to show course module availability information (for someone who isn't allowed to see the activity itself, or for staff) More... | |
course_section_cm_completion ($course, &$completioninfo, cm_info $mod, $displayoptions=array()) | |
Renders html for completion box on course page. More... | |
course_section_cm_edit_actions ($actions, cm_info $mod=null, $displayoptions=array()) | |
Renders HTML for displaying the sequence of course module editing buttons. More... | |
course_section_cm_list ($course, $section, $sectionreturn=null, $displayoptions=array()) | |
Renders HTML to display a list of course modules in a course section Also displays "move here" controls in Javascript-disabled mode. More... | |
course_section_cm_list_item ($course, &$completioninfo, cm_info $mod, $sectionreturn, $displayoptions=array()) | |
Renders HTML to display one course module for display within a section. More... | |
course_section_cm_name (cm_info $mod, $displayoptions=array()) | |
Renders html to display a name with the link to the course module on a course page. More... | |
course_section_cm_name_title (cm_info $mod, $displayoptions=array()) | |
Renders html to display a name with the link to the course module on a course page. More... | |
course_section_cm_text (cm_info $mod, $displayoptions=array()) | |
Renders html to display the module content on the course page (i.e. More... | |
course_section_cm_unavailable_error_message (cm_info $cm) | |
Message displayed to the user when they try to access unavailable activity following URL. More... | |
coursecat_ajax () | |
Serves requests to /course/category.ajax.php. More... | |
courses_list ($courses, $showcategoryname=false, $additionalclasses=null, $paginationurl=null, $totalcount=null, $page=0, $perpage=null) | |
Displays a custom list of courses with paging bar if necessary. More... | |
frontpage () | |
Outputs contents for frontpage as configured in $CFG->frontpage or $CFG->frontpageloggedin. More... | |
frontpage_available_courses () | |
Returns HTML to print list of available courses for the frontpage. More... | |
frontpage_categories_list () | |
Returns HTML to print tree of course categories (with number of courses) for the frontpage. More... | |
frontpage_combo_list () | |
Returns HTML to print tree with course categories and courses for the frontpage. More... | |
frontpage_my_courses () | |
Returns HTML to print list of courses user is enrolled to for the frontpage. More... | |
frontpage_section1 () | |
Output frontpage summary text and frontpage modules (stored as section 1 in site course) More... | |
get_compact_logo_url ($maxwidth=300, $maxheight=300) | |
Return the site's compact logo URL, if any. More... | |
get_logo_url ($maxwidth=null, $maxheight=200) | |
Return the site's logo URL, if any. More... | |
has_started () | |
Returns true is output has already started, and false if not. More... | |
hubinfo ($hubinfo) | |
Hub information (logo - name - description - link) More... | |
image_url ($imagename, $component='moodle') | |
Return the moodle_url for an image. More... | |
pix_url ($imagename, $component='moodle') | |
Return the direct URL for an image from the pix folder. More... | |
render (renderable $widget) | |
Renders the provided widget and returns the HTML to display it. More... | |
render_activity_navigation (\core_course\output\activity_navigation $page) | |
Renders the activity navigation. More... | |
render_from_template ($templatename, $context) | |
Renders a template by name with the given context. More... | |
render_modchooser (renderable $modchooser) | |
Render a modchooser. More... | |
search_courses ($searchcriteria) | |
Renders html to display search result page. More... | |
sendingbackupinfo ($backupfile) | |
Display waiting information about backup size during uploading backup process. More... | |
should_display_main_logo ($headinglevel=1) | |
Whether we should display the main logo. More... | |
should_display_navbar_logo () | |
Whether we should display the logo in the navbar. More... | |
tagged_courses ($tagid, $exclusivemode=true, $ctx=0, $rec=true, $displayoptions=null) | |
Renders html to print list of courses tagged with particular tag. More... | |
Static Public Member Functions | |
static | prepare_classes ($classes) |
Given an array or space-separated list of classes, prepares and returns the HTML class attribute value. More... | |
Protected Member Functions | |
add_modchoosertoggle () | |
course_category_tree_category (stdClass $category, $depth=1) | |
Renderers a category for use with course_category_tree. More... | |
course_modchooser_module ($module, $classes=array('option')) | |
Return the HTML for the specified module adding any required classes. More... | |
course_modchooser_module_types ($modules) | |
Build the HTML for a specified set of modules. More... | |
course_modchooser_title ($title, $identifier=null) | |
course_section_cm_classes (cm_info $mod) | |
Returns the CSS classes for the activity name/content. More... | |
coursecat_category (coursecat_helper $chelper, $coursecat, $depth) | |
Returns HTML to display a course category as a part of a tree. More... | |
coursecat_category_content (coursecat_helper $chelper, $coursecat, $depth) | |
Returns HTML to display the subcategories and courses in the given category. More... | |
coursecat_coursebox (coursecat_helper $chelper, $course, $additionalclasses='') | |
Displays one course in the list of courses. More... | |
coursecat_coursebox_content (coursecat_helper $chelper, $course) | |
Returns HTML to display course content (summary, course contacts and optionally category name) More... | |
coursecat_courses (coursecat_helper $chelper, $courses, $totalcount=null) | |
Renders the list of courses. More... | |
coursecat_include_js () | |
Make sure that javascript file for AJAX expanding of courses and categories content is included. | |
coursecat_subcategories (coursecat_helper $chelper, $coursecat, $depth) | |
Renders the list of subcategories in a category. More... | |
coursecat_tree (coursecat_helper $chelper, $coursecat) | |
Returns HTML to display a tree of subcategories and courses in the given category. More... | |
frontpage_news ($forum) | |
Output news for the frontpage (extract from site-wide news forum) More... | |
frontpage_part ($skipdivid, $contentsdivid, $header, $contents) | |
Renders part of frontpage with a skip link (i.e. More... | |
frontpage_remote_course (stdClass $course) | |
Returns HTML to display one remote course. More... | |
frontpage_remote_host ($host) | |
Returns HTML to display one remote host. More... | |
get_mustache () | |
Return an instance of the mustache class. More... | |
is_cm_conditionally_hidden (cm_info $mod) | |
Checks if course module has any conditions that may make it unavailable for all or some of the students. More... | |
Protected Attributes | |
bool | $categoryexpandedonload = false |
Whether a category content is being initially rendered with children. More... | |
xhtml_container_stack | $opencontainers |
The xhtml_container_stack to use. | |
renderer_base core_renderer | $output |
A reference to the current renderer. More... | |
moodle_page | $page |
The Moodle page the renderer has been created to assist with. | |
stdClass | $strings |
A cache of strings. | |
string | $target |
The requested rendering target. | |
The core course renderer.
Can be retrieved with the following: $renderer = $PAGE->get_renderer('core','course');
core_course_renderer::__construct | ( | moodle_page | $page, |
$target | |||
) |
Override the constructor so that we can initialise the string cache.
moodle_page | $page | |
string | $target |
Reimplemented from plugin_renderer_base.
|
inherited |
Magic method used to pass calls otherwise meant for the standard renderer to it to ensure we don't go causing unnecessary grief.
string | $method | |
array | $arguments |
mixed |
|
inherited |
Adds a JS action for the element with the provided id.
This method adds a JS event for the provided component action to the page and then returns the id that the event has been attached to. If no id has been provided then a new ID is generated by html_writer::random_id()
component_action | $action | |
string | $id |
string | id of element, either original submitted or random new if not supplied |
|
protected |
core_course_renderer::add_new_course_button | ( | ) |
Returns HTML to the "add new course" button for the page.
string |
core_course_renderer::availability_info | ( | $text, | |
$additionalclasses = '' |
|||
) |
Displays availability info for a course section or course module.
string | $text | |
string | $additionalclasses |
string |
core_course_renderer::course_category | ( | $category | ) |
Renders HTML to display particular course category - list of it's subcategories and courses.
Invoked from /course/index.php
int | stdClass | core_course_category | $category |
|
final |
Renderers a structured array of courses and categories into a nice XHTML tree structure.
Please see http://docs.moodle.org/dev/Courses_lists_upgrade_to_2.5
array | $ignored | argument ignored |
string |
|
finalprotected |
Renderers a category for use with course_category_tree.
Please see http://docs.moodle.org/dev/Courses_lists_upgrade_to_2.5
array | $category | |
int | $depth |
string |
core_course_renderer::course_info_box | ( | stdClass | $course | ) |
Renders course info box.
stdClass | $course |
string |
core_course_renderer::course_modchooser | ( | $modules, | |
$course | |||
) |
Build the HTML for the module chooser javascript popup.
array | $modules | A set of modules as returned form |
object | $course | The course that will be displayed |
string | The composed HTML for the module |
|
protected |
Return the HTML for the specified module adding any required classes.
object | $module | An object containing the title, and link. An icon, and help text may optionally be specified. If the module contains subtypes in the types option, then these will also be displayed. |
array | $classes | Additional classes to add to the encompassing div element |
string | The composed HTML for the module |
|
protected |
Build the HTML for a specified set of modules.
array | $modules | A set of modules as used by the course_modchooser_module function |
string | The composed HTML for the module |
core_course_renderer::course_search_form | ( | $value = '' , |
|
$format = 'plain' |
|||
) |
Renders html to display a course search form.
string | $value | default value to populate the search field |
string | $format | display format - 'plain' (default), 'short' or 'navbar' |
string |
core_course_renderer::course_section_add_cm_control | ( | $course, | |
$section, | |||
$sectionreturn = null , |
|||
$displayoptions = array() |
|||
) |
Renders HTML for the menus to add activities and resources to the current course.
stdClass | $course | |
int | $section | relative section number (field course_sections.section) |
int | $sectionreturn | The section to link back to |
array | $displayoptions | additional display options, for example blocks add option 'inblock' => true, suggesting to display controls vertically |
string |
core_course_renderer::course_section_cm | ( | $course, | |
& | $completioninfo, | ||
cm_info | $mod, | ||
$sectionreturn, | |||
$displayoptions = array() |
|||
) |
Renders HTML to display one course module in a course section.
This includes link, content, availability, completion info and additional information that module type wants to display (i.e. number of unread forum posts)
This function calls: } * core_course_renderer::course_section_cm_text() } * core_course_renderer::course_section_cm_completion() } * core_course_renderer::course_section_cm_edit_actions()
stdClass | $course | |
completion_info | $completioninfo | |
cm_info | $mod | |
int | null | $sectionreturn | |
array | $displayoptions |
string |
core_course_renderer::course_section_cm_availability | ( | cm_info | $mod, |
$displayoptions = array() |
|||
) |
Renders HTML to show course module availability information (for someone who isn't allowed to see the activity itself, or for staff)
cm_info | $mod | |
array | $displayoptions |
string |
|
protected |
Returns the CSS classes for the activity name/content.
For items which are hidden, unavailable or stealth but should be displayed to current user ($mod->is_visible_on_course_page()), we show those as dimmed. Students will also see as dimmed activities names that are not yet available but should still be displayed (without link) with availability info.
cm_info | $mod |
array | array of two elements ($linkclasses, $textclasses) |
core_course_renderer::course_section_cm_completion | ( | $course, | |
& | $completioninfo, | ||
cm_info | $mod, | ||
$displayoptions = array() |
|||
) |
Renders html for completion box on course page.
If completion is disabled, returns empty string If completion is automatic, returns an icon of the current completion state If completion is manual, returns a form (with an icon inside) that allows user to toggle completion
stdClass | $course | course object |
completion_info | $completioninfo | completion info for the course, it is recommended to fetch once for all modules in course/section for performance |
cm_info | $mod | module to show completion for |
array | $displayoptions | display options, not used in core |
string |
core_course_renderer::course_section_cm_edit_actions | ( | $actions, | |
cm_info | $mod = null , |
||
$displayoptions = array() |
|||
) |
Renders HTML for displaying the sequence of course module editing buttons.
action_link[] | $actions | Array of action_link objects |
cm_info | $mod | The module we are displaying actions for. |
array | $displayoptions | additional display options: ownerselector => A JS/CSS selector that can be used to find an cm node. If specified the owning node will be given the class 'action-menu-shown' when the action menu is being displayed. constraintselector => A JS/CSS selector that can be used to find the parent node for which to constrain the action menu to when it is being displayed. donotenhance => If set to true the action menu that gets displayed won't be enhanced by JS. |
string |
core_course_renderer::course_section_cm_list | ( | $course, | |
$section, | |||
$sectionreturn = null , |
|||
$displayoptions = array() |
|||
) |
Renders HTML to display a list of course modules in a course section Also displays "move here" controls in Javascript-disabled mode.
This function calls core_course_renderer::course_section_cm()
stdClass | $course | course object |
int | stdClass | section_info | $section | relative section number or section object |
int | $sectionreturn | section number to return to |
int | $displayoptions |
void |
core_course_renderer::course_section_cm_list_item | ( | $course, | |
& | $completioninfo, | ||
cm_info | $mod, | ||
$sectionreturn, | |||
$displayoptions = array() |
|||
) |
Renders HTML to display one course module for display within a section.
This function calls: core_course_renderer::course_section_cm()
stdClass | $course | |
completion_info | $completioninfo | |
cm_info | $mod | |
int | null | $sectionreturn | |
array | $displayoptions |
String |
core_course_renderer::course_section_cm_name | ( | cm_info | $mod, |
$displayoptions = array() |
|||
) |
Renders html to display a name with the link to the course module on a course page.
If module is unavailable for user but still needs to be displayed in the list, just the name is returned without a link
Note, that for course modules that never have separate pages (i.e. labels) this function return an empty string
cm_info | $mod | |
array | $displayoptions |
string |
core_course_renderer::course_section_cm_name_title | ( | cm_info | $mod, |
$displayoptions = array() |
|||
) |
Renders html to display a name with the link to the course module on a course page.
If module is unavailable for user but still needs to be displayed in the list, just the name is returned without a link
Note, that for course modules that never have separate pages (i.e. labels) this function return an empty string
cm_info | $mod | |
array | $displayoptions |
string |
core_course_renderer::course_section_cm_text | ( | cm_info | $mod, |
$displayoptions = array() |
|||
) |
Renders html to display the module content on the course page (i.e.
text of the labels)
cm_info | $mod | |
array | $displayoptions |
string |
core_course_renderer::course_section_cm_unavailable_error_message | ( | cm_info | $cm | ) |
Message displayed to the user when they try to access unavailable activity following URL.
This method is a very simplified version of course_section_cm() to be part of the error notification only. It also does not check if module is visible on course page or not.
The message will be displayed inside notification!
cm_info | $cm |
string |
core_course_renderer::coursecat_ajax | ( | ) |
Serves requests to /course/category.ajax.php.
In this renderer implementation it may expand the category content or course content.
string |
coding_exception |
|
protected |
Returns HTML to display a course category as a part of a tree.
This is an internal function, to display a particular category and all its contents use core_course_renderer::course_category()
coursecat_helper | $chelper | various display options |
core_course_category | $coursecat | |
int | $depth | depth of this category in the current tree |
string |
|
protected |
Returns HTML to display the subcategories and courses in the given category.
This method is re-used by AJAX to expand content of not loaded category
coursecat_helper | $chelper | various display options |
core_course_category | $coursecat | |
int | $depth | depth of the category in the current tree |
string |
|
protected |
Displays one course in the list of courses.
This is an internal function, to display an information about just one course please use core_course_renderer::course_info_box()
coursecat_helper | $chelper | various display options |
core_course_list_element | stdClass | $course | |
string | $additionalclasses | additional classes to add to the main tag (usually depend on the course position in list - first/last/even/odd) |
string |
|
protected |
Returns HTML to display course content (summary, course contacts and optionally category name)
This method is called from coursecat_coursebox() and may be re-used in AJAX
coursecat_helper | $chelper | various display options |
stdClass | core_course_list_element | $course |
string |
|
protected |
Renders the list of courses.
This is internal function, please use core_course_renderer::courses_list() or another public method from outside of the class
If list of courses is specified in $courses; the argument $chelper is only used to retrieve display options and attributes, only methods get_show_courses(), get_courses_display_option() and get_and_erase_attributes() are called.
coursecat_helper | $chelper | various display options |
array | $courses | the list of courses to display |
int | null | $totalcount | total number of courses (affects display mode if it is AUTO or pagination if applicable), defaulted to count($courses) |
string |
|
protected |
Renders the list of subcategories in a category.
coursecat_helper | $chelper | various display options |
core_course_category | $coursecat | |
int | $depth | depth of the category in the current tree |
string |
|
protected |
Returns HTML to display a tree of subcategories and courses in the given category.
coursecat_helper | $chelper | various display options |
core_course_category | $coursecat | top category (this category's name and description will NOT be added to the tree) |
string |
core_course_renderer::courses_list | ( | $courses, | |
$showcategoryname = false , |
|||
$additionalclasses = null , |
|||
$paginationurl = null , |
|||
$totalcount = null , |
|||
$page = 0 , |
|||
$perpage = null |
|||
) |
Displays a custom list of courses with paging bar if necessary.
If $paginationurl is specified but $totalcount is not, the link 'View more' appears under the list.
If both $paginationurl and $totalcount are specified, and $totalcount is bigger than count($courses), a paging bar is displayed above and under the courses list.
array | $courses | array of course records (or instances of core_course_list_element) to show on this page |
bool | $showcategoryname | whether to add category name to the course description |
string | $additionalclasses | additional CSS classes to add to the div.courses |
moodle_url | $paginationurl | url to view more or url to form links to the other pages in paging bar |
int | $totalcount | total number of courses on all pages, if omitted $paginationurl will be displayed as 'View more' link |
int | $page | current page number (defaults to 0 referring to the first page) |
int | $perpage | number of records per page (defaults to $CFG->coursesperpage) |
string |
core_course_renderer::frontpage | ( | ) |
Outputs contents for frontpage as configured in $CFG->frontpage or $CFG->frontpageloggedin.
string |
core_course_renderer::frontpage_available_courses | ( | ) |
Returns HTML to print list of available courses for the frontpage.
string |
core_course_renderer::frontpage_categories_list | ( | ) |
Returns HTML to print tree of course categories (with number of courses) for the frontpage.
string |
core_course_renderer::frontpage_combo_list | ( | ) |
Returns HTML to print tree with course categories and courses for the frontpage.
string |
core_course_renderer::frontpage_my_courses | ( | ) |
Returns HTML to print list of courses user is enrolled to for the frontpage.
Also lists remote courses or remote hosts if MNET authorisation is used
string |
|
protected |
Output news for the frontpage (extract from site-wide news forum)
stdClass | $forum | record from db table 'forum' that represents the site news forum |
string |
|
protected |
Renders part of frontpage with a skip link (i.e.
"My courses", "Site news", etc.)
string | $skipdivid | |
string | $contentsdivid | |
string | $header | Header of the part |
string | $contents | Contents of the part |
string |
|
protected |
Returns HTML to display one remote course.
stdClass | $course | remote course information, contains properties: id, remoteid, shortname, fullname, hostid, summary, summaryformat, cat_name, hostname |
string |
|
protected |
Returns HTML to display one remote host.
array | $host | host information, contains properties: name, url, count |
string |
core_course_renderer::frontpage_section1 | ( | ) |
Output frontpage summary text and frontpage modules (stored as section 1 in site course)
This may be disabled in settings
string |
|
inherited |
Return the site's compact logo URL, if any.
int | $maxwidth | The maximum width, or null when the maximum width does not matter. |
int | $maxheight | The maximum height, or null when the maximum height does not matter. |
moodle_url|false |
|
inherited |
Return the site's logo URL, if any.
int | $maxwidth | The maximum width, or null when the maximum width does not matter. |
int | $maxheight | The maximum height, or null when the maximum height does not matter. |
moodle_url|false |
|
protectedinherited |
Return an instance of the mustache class.
Mustache_Engine |
|
inherited |
Returns true is output has already started, and false if not.
boolean | true if the header has been printed. |
core_course_renderer::hubinfo | ( | $hubinfo | ) |
Hub information (logo - name - description - link)
object | $hubinfo |
string | html code |
|
inherited |
Return the moodle_url for an image.
The exact image location and extension is determined automatically by searching for gif|png|jpg|jpeg, please note there can not be diferent images with the different extension. The imagename is for historical reasons a relative path name, it may be changed later for core images. It is recommended to not use subdirectories in plugin and theme pix directories.
There are three types of images: 1/ theme images - stored in theme/mytheme/pix/, use component 'theme' 2/ core images - stored in /pix/, overridden via theme/mytheme/pix_core/ 3/ plugin images - stored in mod/mymodule/pix, overridden via theme/mytheme/pix_plugins/mod/mymodule/, example: image_url('comment', 'mod_glossary')
string | $imagename | the pathname of the image |
string | $component | full plugin name (aka component) or 'theme' |
moodle_url |
|
protected |
Checks if course module has any conditions that may make it unavailable for all or some of the students.
This function is internal and is only used to create CSS classes for the module name/text
cm_info | $mod |
bool |
|
inherited |
Return the direct URL for an image from the pix folder.
Use this function sparingly and never for icons. For icons use pix_icon or the pix helper in a mustache template.
string | $imagename | the name of the icon. |
string | $component | specification of one plugin like in get_string() |
moodle_url |
|
staticinherited |
Given an array or space-separated list of classes, prepares and returns the HTML class attribute value.
mixed | $classes | Space-separated string or array of classes |
string | HTML class attribute value |
|
inherited |
Renders the provided widget and returns the HTML to display it.
renderable | $widget | instance with renderable interface |
string |
Reimplemented from renderer_base.
Reimplemented in tool_policy\output\renderer.
core_course_renderer::render_activity_navigation | ( | \core_course\output\activity_navigation | $page | ) |
Renders the activity navigation.
Defer to template.
core_course\output\activity_navigation | $page |
string | html for the page |
|
inherited |
Renders a template by name with the given context.
The provided data needs to be array/stdClass made up of only simple types. Simple types are array,stdClass,bool,int,float,string
array | stdClass | $context | Context containing data for the template. |
string|boolean |
core_course_renderer::render_modchooser | ( | renderable | $modchooser | ) |
Render a modchooser.
renderable | $modchooser | The chooser. |
string |
core_course_renderer::search_courses | ( | $searchcriteria | ) |
Renders html to display search result page.
array | $searchcriteria | may contain elements: search, blocklist, modulelist, tagid |
string |
core_course_renderer::sendingbackupinfo | ( | $backupfile | ) |
Display waiting information about backup size during uploading backup process.
object | $backupfile | the backup stored_file |
$html | string |
|
inherited |
Whether we should display the main logo.
int | $headinglevel | The heading level we want to check against. |
bool |
|
inherited |
Whether we should display the logo in the navbar.
We will when there are no main logos, and we have compact logo.
bool |
core_course_renderer::tagged_courses | ( | $tagid, | |
$exclusivemode = true , |
|||
$ctx = 0 , |
|||
$rec = true , |
|||
$displayoptions = null |
|||
) |
Renders html to print list of courses tagged with particular tag.
int | $tagid | id of the tag |
bool | $exclusivemode | if set to true it means that no other entities tagged with this tag are displayed on the page and the per-page limit may be bigger |
int | $fromctx | context id where the link was displayed, may be used by callbacks to display items in the same context first |
int | $ctx | context id where to search for records |
bool | $rec | search in subcontexts as well |
array | $displayoptions |
string | empty string if no courses are marked with this tag or rendered list of courses |
|
protected |
Whether a category content is being initially rendered with children.
This is mainly used by the core_course_renderer::corsecat_tree() to render the appropriate action for the Expand/Collapse all link on page load.
|
protectedinherited |
A reference to the current renderer.
The renderer provided here will be determined by the page but will in 90% of cases by the core_renderer