SloodleModulePresenterThe Sloodle presenter module class.
Located in /lib/modules/module_presenter.php (line 23)
SloodleModule | --SloodleModulePresenter
object
$cm
= null (line 33)
Internal for Moodle only - course module instance.
Corresponds to one record from the Moodle 'course_modules' table.
object
$presenter
= null (line 49)
Internal only - a database objects representing the Presenter itself.
Corresponds to one record from the Moodle 'mdl_sloodle_presenter' table.
object
$sloodle_instance
= null (line 41)
Internal only - Sloodle module instance database object.
Corresponds to one record from the Moodle 'mdl_sloodle' table.
Inherited from SloodleModule
SloodleModule::$_session
Constructor
Adds a new entry to the presentation.
Deletes the identified entry by ID.
Only works if the entry is part of this presentation.
Edits an existing entry in the presentation.
Gets the identifier of the course this controller belongs to.
Gets the time at which this instance was created, or 0 if unknown.
Gets an array of absolute URLs to images in this slideshow, all correctly ordered.
Gets the height of the Presenter frame (for viewing in Moodle).
Gets the width of the Presenter frame (for viewing in Moodle).
Gets the intro description of this module instance, if available.
Gets the time at which this instance was last modified, or 0 if unknown.
Gets the name of this module instance.
Gets an ordered associative array of slides in presentation order.
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.
Moves the ID'd entry forward or back in the presentation ordering.
Only works if the entry is part of this presentation.
Relocates the identified entry to the specified position in the presentation.
Positions count from 1 upwards. If an entry already exists in that location, then the existing entry is pushed to the next position.
Validates the ordering value of all entries in the presenter.
Gives each record an ordering value from 10 upwards, incrementing by 10 each time.
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:05 +0100 by phpDocumentor 1.4.0