public function getRelatedCategoryIds($published = false) { if ($this->_related_category_ids === null) { $this->_related_category_ids = CategoryHelper::getItemsRelatedCategoryIds($this->id, $published); } return $this->_related_category_ids; }