getRequest()->getParam('id'); if ($authorId) { $author = $this->helperData->getObjectByParam($authorId, null, Data::TYPE_AUTHOR); if ($author && $author->getId()) { return $author; } } return null; } }