/** * Get icon for the row. * If $this->iconPath and $this->iconName is set, try to get icon based on those values. * * @param * array Item row. * @return string tag. */ public function getIcon($row) { if (in_array($row['uid'], $this->MOUNTS)) { $this->table = 'tx_cal_calendar'; } $return = parent::getIcon($row); $this->table = 'tx_cal_category'; return $return; }