/** * From current category, get trail back to top level category. By default, will include array with * id's and names and URLs. Passing strType as 'names' will provide array only with names * @param string $strType passing "names" will just get simple array of names, otherwise it's it's a full array of items * @return string */ public function getBreadcrumbs() { $arrCrumbs = Category::getBreadcrumbByProductId($this->id); $arrCrumbs[_xls_truncate($this->Title, 45)] = $this->Link; return $arrCrumbs; }