[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/course/format/topics/ -> renderer.php (summary)

Renderer for outputting the topics course format.

Copyright: 2012 Dan Poltawski
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 119 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

format_topics_renderer:: (5 methods):
  __construct()
  start_section_list()
  end_section_list()
  page_title()
  section_edit_controls()


Class: format_topics_renderer  - X-Ref

Basic renderer for topics format.

__construct(moodle_page $page, $target)   X-Ref
Constructor method, calls the parent constructor

param: moodle_page $page
param: string $target one of rendering target constants

start_section_list()   X-Ref
Generate the starting container html for a list of sections

return: string HTML to output.

end_section_list()   X-Ref
Generate the closing container html for a list of sections

return: string HTML to output.

page_title()   X-Ref
Generate the title for this section page

return: string the page title

section_edit_controls($course, $section, $onsectionpage = false)   X-Ref
Generate the edit controls of a section

param: stdClass $course The course entry from DB
param: stdClass $section The course_section entry from DB
param: bool $onsectionpage true if being printed on a section page
return: array of links with edit controls



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1