protected function getResponseAuthorData() { $this->author = $this->getUser(); return array('id' => $this->author->getId(), 'name' => $this->author->getName(), 'photo' => $this->author->getPhoto(photosCommentModel::SMALL_AUTHOR_PHOTO_SIZE)); }