File/mod/glossary/sl_glossary_lib.php

Description

Sloodle glossary local library functions.

Allows easier access to the Moodle glossary data.

Functions
sloodle_get_glossary_activity_module (line 81)

Gets a glossary activity module instance.

  • return: A database record object if successful, or false if not.
mixed sloodle_get_glossary_activity_module (object $cmi)
  • object $cmi: A course module instance object (database record)
sloodle_get_visible_glossaries_in_course (line 28)

Gets an array of available glossaries in the specified course.

Glossaries which are hidden, or which are in a hidden section of the course, are ignored.

mixed sloodle_get_visible_glossaries_in_course (int $course_id)
  • int $course_id: Integer ID of a Moodle course
sloodle_lookup_glossary (line 96)

Searches glossary terms for a word or phrase.

  • return: A numeric array of entries (as records from the database) if successful, or boolean false if not.
mixed sloodle_lookup_glossary (object $glossary, string $concept)

Documentation generated on Tue, 04 Mar 2008 15:08:42 +0000 by phpDocumentor 1.4.0