You are here

public function CourseHandler::getOptionsSummary in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseHandler.inc \CourseHandler::getOptionsSummary()
  2. 7 includes/CourseHandler.inc \CourseHandler::getOptionsSummary()

Stub. Get the summary of an object's options.

Return value

array An associative array of summary keys and values.

1 call to CourseHandler::getOptionsSummary()
CourseObject::getOptionsSummary in includes/course_object.core.inc
Get core options summary.
1 method overrides CourseHandler::getOptionsSummary()
CourseObject::getOptionsSummary in includes/course_object.core.inc
Get core options summary.

File

includes/course.core.inc, line 47
course.core.inc File for main Course class.

Class

CourseHandler
@file course.core.inc File for main Course class.

Code

public function getOptionsSummary() {
  $summary = array();
  foreach ($this
    ->getWarnings() as $warning) {
    $warning = '<span class="error">' . $warning . '</span>';
    $summary['warnings'] = filter_xss_admin($warning);
  }
  return $summary;
}