Class SloodlePluginBasePresenterImporter

Description

Base class for plugins which provide slide importers for the SLOODLE Presenter.

Sub-classes should override the essential functions, in addition to those in the SloodlePluginBase class. The purpose of the plugin is to take a specified file (locally), process it, and add slides to the Presentation at the given point.

Located in /plugin/presenter/_base.php (line 68)

SloodlePluginBase
   |
   --SloodlePluginBasePresenterImporter
Direct descendents
Class Description
 class SloodlePluginPresenterPDFImporter Presenter plugin for importing a PDF file as a series of image slides.
Method Summary
 bool import (string $file, [int $position = -1])
Methods
import (line 85)

Import the given file, and insert the new slides at the specified position in the Presentation.

The best approach to inserting slides is to insert the first one at the specified position, and then increment the position on each insertion. Inserting at the same point repeatedly will cause the slides to appear in reverse order! :-)

  • return: True if successful, or false otherwise.
bool import (string $file, [int $position = -1])
  • string $file: The path of the file to import.
  • int $position: Position at which the first new slide should be imported. (If negative, then insert at end)

Inherited Methods

Inherited From SloodlePluginBase

 SloodlePluginBase::get_id()
 SloodlePluginBase::get_plugin_description()
 SloodlePluginBase::get_plugin_name()
 SloodlePluginBase::get_version()

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