3 * +-------------------------------------------------------
4 * | Nucleus ItemOption TestCase
5 * +-------------------------------------------------------
7 * +-INFO--------------------------------------------------
8 * | Author: Jeroen Budts (TeRanEX)
9 * | URL: http://budts.be/weblog/
10 * | JabberID: teranex@jabber.org
12 * +-TODO--------------------------------------------------
14 * +-HISTORY-----------------------------------------------
17 * +-CVS---------------------------------------------------
18 * | $Id: NP_ItemOptionTestCase.php 613 2004-09-20 22:13:59Z teranex $
20 * +-------------------------------------------------------
23 class NP_ItemOptionTestCase extends NucleusPlugin {
25 // --------- Plug-in Info ---------------------------------
28 return 'ItemOptionTestCase';
32 function getAuthor() {
35 // an URL to the plugin website
37 return 'http://budts.be/weblog/';
40 // version of the plugin
41 function getVersion() {
45 // a description to be shown on the installed plugins listing
46 function getDescription() {
47 return 'A plugin to test the itemoptions';
51 function supportsFeature($what) {
53 case 'SqlTablePrefix':
60 function getMinNucleusVersion() {
63 // --------- Install and Uninstall functions --------------
65 $this->createItemOption('TestValue', 'TestOption', 'text', '0', 'datatype=numerical');
66 $this->createItemOption('TestSelect', 'TestSelect', 'select', 'val1', 'de eerste optie|val1|de tweede optie|val2|de derde optie|val3');
70 // --------- do...-Functions ------------------------------
71 function doSkinVar($skinType, $counterType = 'visits', $counterMode = 'textual', $counterUpdate = 'count') {
72 //currently we do nothing :-)