protected function getEditorsChoice() { $result = array(); $editorsChoiceTaxonomyCategory = $this->getCustomParameter('EditorsChoiceTaxonomyCategory'); $editorsChoiceTaxonomyValue = $this->getCustomParameter('EditorsChoiceTaxonomyValue'); $editorsChoiceLimit = $this->getCustomParameter('EditorsChoiceLimit') ? $this->getCustomParameter('EditorsChoiceLimit') : 1; $languages = $this->applicationLocalized()->getPublisherLanguages(); if ($editorsChoiceTaxonomyCategory == null || $editorsChoiceTaxonomyValue == null) { return $result; } $result = $this->resultHandler->getEditorsChoiceArticles($editorsChoiceTaxonomyCategory, $editorsChoiceTaxonomyValue, $editorsChoiceLimit, $languages); return $result; }