/** * Returns the root icon for a tree/mountpoint (defaults to the globe) * * @param array Record for root. * @return string Icon image tag. */ function getRootIcon($row) { global $BACK_PATH; if ($this->rootIcon) { $icon = '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], $this->rootIcon, 'width="18" height="16"') . ' alt="" />'; $icon = $this->wrapIcon($icon, $row); } else { $icon = parent::getRootIcon($row); } $this->rootIconIsSet = true; return $icon; }