[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Renderer for outputting the weeks course format.

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

Defines 1 class

format_weeks_renderer:: (5 methods):
  start_section_list()
  end_section_list()
  page_title()
  section_title()
  section_title_without_link()


Class: format_weeks_renderer  - X-Ref

Basic renderer for weeks format.

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_title($section, $course)   X-Ref
Generate the section title, wraps it in a link to the section page if page is to be displayed on a separate page

param: stdClass $section The course_section entry from DB
param: stdClass $course The course entry from DB
return: string HTML to output.

section_title_without_link($section, $course)   X-Ref
Generate the section title to be displayed on the section page, without a link

param: stdClass $section The course_section entry from DB
param: stdClass $course The course entry from DB
return: string HTML to output.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1