/program/modules/snapshots/snapshots_view.php - interface to the view-part of the snapshots module
This file defines the interface with the snapshots-module for viewing content. The interface consists of this function:
This function is called from /index.php when the node to display is connected to this module. Internally all the work is done in the Snapshot class. This class is also used in the module that aggregates different nodes into a single HTML-document.
Class | Description |
---|---|
![]() |
this class implements methods to display snapshots |
![]() |
this class implements methods to display snapshots |
display the snapshots from the directory linked to node $node_id
this routine is only a helper to create a new SnapshotViewer instance which is where the real work is done.
in general there are three different variants (depends on configuration of 'variant'):
The 4th variant is used in asynchroneous updating of the list of images. Calls to this variant originate in slideshow.js.
Documentation generated on Tue, 28 Jun 2016 19:11:58 +0200 by phpDocumentor 1.4.0