case 'category':
if (!count($this->categoryCache)) {
$query = 'SELECT * FROM user_test_productcategory WHERE pid=121'.$this->cObj->enableFields('user_test_productcategory');
$res = mysql(TYPO3_db,$query);
while($row=mysql_fetch_assoc($res)) {
$this->categoryCache[$row['uid']]=$row;
}
}
return htmlspecialchars($this->categoryCache[$this->internal['currentRow']['category']]['name']);