OSDN Git Service

removed unnecessary files
[nucleus-jp/nucleus-jp-ancient.git] / euc / build / testcases / NP_ItemOptionTestCase4.php
diff --git a/euc/build/testcases/NP_ItemOptionTestCase4.php b/euc/build/testcases/NP_ItemOptionTestCase4.php
deleted file mode 100755 (executable)
index 70c8d71..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php\r
-/**\r
- * +-------------------------------------------------------\r
- * |            Nucleus ItemOption TestCase              \r
- * +-------------------------------------------------------\r
- * |\r
- * +-INFO--------------------------------------------------\r
- * |  Author:   Jeroen Budts (TeRanEX)\r
- * |  URL:      http://budts.be/weblog/\r
- * |  JabberID: teranex@jabber.org\r
- * |\r
- * +-TODO--------------------------------------------------\r
- * | \r
- * +-HISTORY-----------------------------------------------\r
- * |  \r
- * |\r
- * +-CVS---------------------------------------------------\r
- * | $Id: NP_ItemOptionTestCase4.php,v 1.1.1.1 2005-02-28 07:13:50 kimitake Exp $\r
- * |\r
- * +-------------------------------------------------------\r
- */\r
-\r
-class NP_ItemOptionTestCase4 extends NucleusPlugin {\r
-\r
-// --------- Plug-in Info ---------------------------------\r
-  // name of plugin\r
-  function getName() {\r
-    return 'ItemOptionTestCase4';\r
-  }\r
-  \r
-  // author of plugin\r
-  function getAuthor() {\r
-    return 'TeRanEX';\r
-  }\r
-  // an URL to the plugin website\r
-  function getURL() {\r
-    return 'http://budts.be/weblog/';\r
-  }\r
-  \r
-  // version of the plugin\r
-  function getVersion() {\r
-    return '0.1';\r
-  }\r
-  \r
-  // a description to be shown on the installed plugins listing\r
-  function getDescription() {\r
-    return 'A plugin to test the itemoptions';\r
-  }\r
-\r
-  //supported features\r
-  function supportsFeature($what) {\r
-    switch($what) {\r
-      case 'SqlTablePrefix':\r
-        return 1;\r
-      default:\r
-        return 0;\r
-    }\r
-  }\r
-  \r
-  function getMinNucleusVersion() {\r
-    return 250;\r
-  }\r
-// --------- Install and Uninstall functions --------------\r
-  function install() {\r
-    $this->createItemOption('TestCase4', 'TestCaseOption:select(numerical)', 'select', '0', '0|0|1|1|2|2|test|test;datatype=numerical');\r
-  }\r
-  \r
-// --------- do...-Functions ------------------------------\r
-  function doTemplateVar(&$item) {\r
-      //currently we do nothing :-)\r
-         echo $this->getItemOption($item->itemid, 'TestCase4');\r
-  }\r
-  \r
-  function doSkinVar($skinType) {\r
-      global $blog;\r
-         $mostTest = $this->getItemOptionTop('TestCase4', 15, 'asc');\r
-       for($i=0; $i < count($mostTest); $i++) {\r
-               echo '<br/>item: '.$mostTest[$i]['id'].': '.$mostTest[$i]['value'];\r
-       }\r
-  }\r
-  \r
-}\r
-?>\r