SloodleModuleMapThe Sloodle map resource module class.
Located in /lib/modules/module_map.php (line 23)
SloodleModule | --SloodleModuleMap
object
$cm
= null (line 33)
Internal for Moodle only - course module instance.
Corresponds to one record from the Moodle 'course_modules' table.
object
$sloodle_instance
= null (line 41)
Internal only - Sloodle module instance database object.
Corresponds to one record from the Moodle 'mdl_sloodle' table.
object
$sloodle_map
= null (line 48)
Instance of the extra Map data from the sloodle_map table.
Inherited from SloodleModule
SloodleModule::$_session
Constructor
Adds a new location to this map.
Checks if the pan controls should be visible.
Checks if the zoom controls should be visible.
Gets the identifier of the course this controller belongs to.
Gets the time at which this instance was created, or 0 if unknown.
Gets the initial coordinates of the map.
Gets the initial zoom factor of the map (1 - 6).
Gets the intro description of this module instance, if available.
Returns a numeric array of locations associated with this map. Sorted by name.
Each element is an object direct from the sloodle_map_location table.
Gets the time at which this instance was last modified, or 0 if unknown.
Gets the name of this module instance.
Gets the short type name of this instance.
Gets the full type name of this instance, according to the current language pack, if available.
Note: should be overridden by sub-classes.
Loads data from the database.
Note: even if the function fails, it may still have overwritten some or all existing data in the object.
Sets the initial coordinates of the map.
Inherited From SloodleModule
SloodleModule::SloodleModule()
SloodleModule::get_course_id()
SloodleModule::get_creation_time()
SloodleModule::get_intro()
SloodleModule::get_modification_time()
SloodleModule::get_name()
SloodleModule::get_type()
SloodleModule::get_type_full()
SloodleModule::load()
Documentation generated on Fri, 17 Jul 2009 11:02:03 +0100 by phpDocumentor 1.4.0