private function getCategoryNameById($categoryId, $storeId)
    {
        if (!isset($this->categoryNames[$categoryId])) {
            $categoryResource = $this->categoryResource;
            $this->categoryNames[$categoryId] = $categoryResource->getAttributeRawValue($categoryId, "name", $storeId);
        }

        return $this->categoryNames[$categoryId];
    }
private function getCategoryNameById($categoryId, $storeId)
    {
        if (!isset($this->categoryNames[$categoryId])) {
            $categoryResource = $this->categoryResource;
            $this->categoryNames[$categoryId] = $categoryResource->getAttributeRawValue($categoryId, "name", $storeId);
        }

        return $this->categoryNames[$categoryId];
    }
private function getCategoryNameById ( $ categoryId , $ storeId ) { if ( ! isset ( $ this -> categoryNames [ $ categoryId ] ) ) { $ categoryResource = $ this -> categoryResource ; $ this -> categoryNames [ $ categoryId ] = $ categoryResource -> getAttributeRawValue ( $ categoryId , "name" , $ storeId ) ; } return $ this -> categoryNames [ $ categoryId ] ; }
Retrieve a category name by it's id, and store it in local cache

@param int $categoryId The category Id
@param int $storeId    The store Id

@return string
Retrieve a category name by it s id and store it in local cache