Platon Technologies
not logged in Login Registration
open source software development celebrating 10 years of open source development! Saturday, July 2, 2022
About Us
Open Source
Index  »  Projects  »  phpMyEdit  »  Documentation  »  HTML  »  phpMyEdit-slide

5.2. phpMyEdit-slide

phpMyEdit-slide can create slideshow with ability to view and/or edit records. Everytime is exactly one record shown. Record can be displayed in view or edit mode. View mode looks like "view" functionality in normal phpMyEdit, change mode looks like "change" functionality in normal phpMyEdit.

The only difference is that two buttons, Prev and Next, are displayed in addition to common view/edit buttons to provide ability of going to the next or previous record. This extension purpously disable "add", "copy", "delete", and "table listing" functionalities.

Here are configuration variables related to extension. All of these phpMyEdit-slide options are optional.

  $opts['ext']['rec'] -- primary key value of record to display initially
  $opts['ext']['next_disable'] -- disable Next button
  $opts['ext']['prev_disable'] -- disable Prev button

Following variables are not options, but they are used internally by extension. They can be used for getting some information for example in triggers.

  $opts['ext']['next'] -- primary key value of next record
  $opts['ext']['prev'] -- primary key value of previous record

To use this extension you have to include extensions/phpMyEdit-slide.class.php file and call new phpMyEdit_slide($opts) instead of common phpMyEdit class file.

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy