You are here

public function CourseHandler::getOptionsSummary in Course 7

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

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/CourseObject.inc
Get core options summary.
1 method overrides CourseHandler::getOptionsSummary()
CourseObject::getOptionsSummary in includes/CourseObject.inc
Get core options summary.

File

includes/CourseHandler.inc, line 31

Class

CourseHandler
Master class for anything Course related.

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;
}