Class SloodlePresenterSlide

Description

Defines a single slide from a presentation, containing raw data.

The data will usually need to interpreted by a slide plugin.

Located in /lib/modules/module_presenter.php (line 402)


	
			
Variable Summary
 int $id
 string $name
 integer $ordering
 integer $slideposition
 string $source
 string $type
Method Summary
 SloodlePresenterSlide SloodlePresenterSlide ([ $id = 0], [ $presenter = null], [ $name = ''], [ $source = ''], [ $type = ''], [ $ordering = 0], [ $slideposition = 0])
Variables
int $id = 0 (line 425)

The ID of this slide in the DB table of slides.

  • access: public
string $name = '' (line 439)

The name of this slide

  • access: public
integer $ordering = 0 (line 462)

The ordering value for this slide. This should not generally be used. Refer to 'slideposition' instead.

  • access: public
SloodleModulePresenter $presenter = null (line 432)

The SloodleModulePresenter object relating the presentation this slide is in

  • access: public
integer $slideposition = 0 (line 469)

The position of this slide in the presentation. This is a 1-based count.

  • access: public
string $source = '' (line 448)

The source data for this slide. Normally this would be an absolute url (starting with a protocol specifier like HTTP), or a relative path, in which case it is treated as an internal Moodle file.

Plugins may alternatively use this to store data which is to be rendered.

  • access: public
string $type = '' (line 455)

The type of this slide. This will be the ID of a plugin, or it may be a legacy type, 'web', 'image', or 'video'.

  • access: public
Methods
Constructor SloodlePresenterSlide (line 407)
SloodlePresenterSlide SloodlePresenterSlide ([ $id = 0], [ $presenter = null], [ $name = ''], [ $source = ''], [ $type = ''], [ $ordering = 0], [ $slideposition = 0])
  • $id
  • $presenter
  • $name
  • $source
  • $type
  • $ordering
  • $slideposition

Documentation generated on Fri, 17 Jul 2009 11:02:06 +0100 by phpDocumentor 1.4.0