You are here

protected function CourseHandler::getDatabaseFields in Course 6

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

Return an array of database fields. This determines what fields should be serialized instead of stored.

1 call to CourseHandler::getDatabaseFields()
CourseHandler::save in includes/course.core.inc

File

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

Class

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

Code

protected function getDatabaseFields() {
  $schema = drupal_get_schema($this->table);
  return array_keys($schema['fields']);
}