createItemOption('TestCase4', 'TestCaseOption:select(numerical)', 'select', '0', '0|0|1|1|2|2|test|test;datatype=numerical'); } // --------- do...-Functions ------------------------------ function doTemplateVar(&$item) { //currently we do nothing :-) echo $this->getItemOption($item->itemid, 'TestCase4'); } function doSkinVar($skinType) { global $blog; $mostTest = $this->getItemOptionTop('TestCase4', 15, 'asc'); for($i=0; $i < count($mostTest); $i++) { echo '
item: '.$mostTest[$i]['id'].': '.$mostTest[$i]['value']; } } } ?>