Get anime/mange review.

@return array
331908
private function getAllInfo()
    {
        $data = [];
        $recommendation_area = $this->_parser->find('.borderClass table');
        foreach ($recommendation_area as $each_recom) {
            $tmp = [];

            $content_area = $each_recom->find('td', 1);
            $other_area = $each_recom->find('div[id^=simaid]', 0);

            $tmp['id'] = $this->getRecomId($content_area);
            $tmp['title'] = $this->getRecomTitle($content_area);
            $tmp['image'] = $this->getRecomImage($each_recom);
            $tmp['username'] = $this->getRecomUsername($content_area);
            $tmp['recommendation'] = $this->getRecomText($content_area);
            $tmp['other'] = $this->getRecomOther($other_area);

            $data[] = $tmp;
        }

        return $data;
    }
718122
public function getPreview()
    {
        $url = trim($this->value);
        if (!$this->display_video || !$url) {
            return false;
        }
        $obj = VideoLink::create()->setValue($url);
        if ($obj->iFrameURL) {
            return $obj->Iframe($this->display_video, $this->preview_height);
        }
    }
873424
private function getAllInfo()
    {
        $data = [
            'id'           => $this->getId(),
            'image'        => $this->getImage(),
            'nickname'     => $this->getNickname(),
            'name'         => $this->getName(),
            'name_kanji'   => $this->getName(true),
            'favorite'     => $this->getFavorite(),
            'about'        => $this->getAbout(),
            'animeography' => $this->getMedia('anime'),
            'mangaography' => $this->getMedia('manga'),
            'va'           => $this->getVa(),
        ];

        return $data;
    }
252780
private function getAllInfo()
    {
        $data = [];
        $data_index = 0;
        $top_table = $this->_parser->find('.characters-favorites-ranking-table', 0);
        foreach ($top_table->find('tr[class=ranking-list]') as $each_char) {
            $name_area = $each_char->find('.people', 0);

            $data[$data_index]['rank'] = $this->getRank($each_char);
            $data[$data_index]['id'] = $this->getId($name_area);
            $data[$data_index]['name'] = $this->getName($name_area);
            $data[$data_index]['japanese_name'] = $this->getJapaneseName($name_area);
            $data[$data_index]['image'] = $this->getImage($name_area);
            $data[$data_index]['animeography'] = $this->getRole($each_char, '.animeography');
            $data[$data_index]['mangaography'] = $this->getRole($each_char, '.mangaography');
            $data[$data_index]['favorite'] = $this->getFavorite($each_char);

            $data_index++;
        }

        return $data;
    }
1266341
private function getRelated()
    {
        $related = [];
        $related_area = $this->_parser->find('.anime_detail_related_anime', 0);
        if ($related_area) {
            foreach ($related_area->find('tr') as $rel) {
                $rel_type = $rel->find('td', 0)->plaintext;
                $rel_type = trim(strtolower(str_replace(':', '', $rel_type)));

                $each_rel = [];
                $each_rel_index = 0;
                $rel_anime = $rel->find('td', 1);
                foreach ($rel_anime->find('a') as $r) {
                    $each_rel[$each_rel_index] = $this->getRelatedDetail($r);
                    $each_rel_index++;
                }

                $related[$rel_type] = $each_rel;
            }
        }

        return $related;
    }
350521
private function getAllInfo()
    {
        $data = [
            'id'        => $this->getId(),
            'cover'     => $this->getCover(),
            'title'     => $this->getTitle(),
            'title2'    => $this->getTitle2(),
            'video'     => $this->getVideo(),
            'synopsis'  => $this->getSynopsis(),
            'score'     => $this->getScore(),
            'voter'     => $this->getVoter(),
            'rank'      => $this->getRank(),
            'popularity'=> $this->getPopularity(),
            'members'   => $this->getMembers(),
            'favorite'  => $this->getFavorite(),
        ];

        $data = array_merge($data, $this->getOtherInfo());

        $data2 = [
            'related'        => $this->getRelated(),
            'character'      => $this->getCharacter(),
            'staff'          => $this->getStaff(),
            'song'           => $this->getSong(),
            'review'         => $this->getReview(),
            'recommendation' => $this->getRecommendation(),
        ];

        $data = array_merge($data, $data2);

        return $data;
    }
1156699
public function getMediaFiles()
    {
        if ($this->_aMediaFiles === null) {
            $aMediaFiles = $this->getProduct()->getMediaUrls();
            $this->_aMediaFiles = count($aMediaFiles) ? $aMediaFiles : false;
        }

        return $this->_aMediaFiles;
    }
213329
public function getComments()
    {
        //setup the comments
        $comment_ids = $this->getIds('comment');

        $comments = array();

        //only shows comments if there are comment_ids in the story
        //body or if the story has directly been commented on
        if (!empty($comment_ids)) {
            sort($comment_ids);
            $size = 0;
            foreach ($comment_ids as $id) {
                if (isset($this->_loaded_nodes[$id])) {
                    $comment = $this->_loaded_nodes[$id];
                    if ($comment instanceof ComBaseDomainEntityComment) {
                        $comments[$id] = $comment;
                        ++$size;
                    }
                }
                if ($size == 10) {
                    break;
                }
            }
        }

        return $comments;
    }
413567
public function getComments() {
        $comments = false;
        $table    = \MUtil_Html::create()->table(['class' => 'browser table', 'style' => 'width: auto']);

        $targetSurveyAnswers = $this->getNumberOfAnswers($this->targetSurveyId);
        if ($targetSurveyAnswers > 0) {
            $comments = true;
            $table
                    ->tr(['class' => 'warning'])
                    ->td(
                            sprintf(
                                    $this->_('Target survey already has %d answers. Is this expected?'),
                                    $targetSurveyAnswers
                            )
            );
        }

        if ($comments) {
            return $table;
        }

        return false;
    }
1261299
public function getRecommendations()
    {
        if (null !== $this->recommendations) {
            return $this->recommendations;
        }

        if (null === $this->data) {
            $this->initializeProfile();
        }

        if (!isset($this->data['recommendations']['tests'])) {
            return $this->recommendations = array();
        }

        $this->recommendations = array();
        foreach ($this->data['recommendations']['tests'] as $test) {
            $this->recommendations[] = new Test($test['name'], $test['state'], isset($test['failures']) ? $test['failures'] : array());
        }

        return $this->recommendations;
    }
41339
public function getReviewList()
    {
        $currentPage = $this->getActPage();
        $itemsPerPage = $this->getItemsPerPage();
        $offset = $currentPage * $itemsPerPage;

        $userId = $this->getUser()->getId();

        $reviewModel = oxNew(Review::class);
        $reviewAndRatingList = $reviewModel->getReviewAndRatingListByUserId($userId);

        return $this->getPaginatedReviewAndRatingList(
            $reviewAndRatingList,
            $itemsPerPage,
            $offset
        );
    }
994402
public function review() {
		if(!$this->canReview()){
			return $this->redirect($this->Link());
		}
		$registration = $this->getCurrentRegistration();
		$customisations = array(
			'EditLink' => $this->Link('attendee/edit'),
			'DeleteLink' => $this->Link('attendee/delete'),
			'Total' => $registration->obj('calculateTotal')
		);
		$this->extend("updateReviewTable", $registration, $customisations);
		$registration = $registration->renderWith("AttendeesReviewTable", $customisations);
		return array(
			'Title' => 'Review',
			'Content' => $registration,
			'Form' => $this->ReviewForm()
		);
	}
672556
public function getReportsInfo()
    {
        $reports    = [];
        $reportsRaw = $this->getFlexiData($this->getEvidenceURL().'/reports');
        if (!empty($reportsRaw) && array_key_exists('reports', $reportsRaw) && !empty($reportsRaw['reports'])
            && array_key_exists('report', $reportsRaw['reports']) &&
            !empty($reportsRaw['reports']['report'])) {
            if (\Ease\jQuery\Part::isAssoc($reportsRaw['reports']['report'])) {
                $reports = [$reportsRaw['reports']['report']['reportId'] => $reportsRaw['reports']['report']];
            } else {
                $reports = self::reindexArrayBy($reportsRaw['reports']['report'],
                        'reportId');
            }
        }
        return $reports;
    }
974735
public function getFeedback(): array
    {
        $feedback = [];
        $suites = $this->isSingle ? $this->suites : $this->suites[0]->suites;
        foreach ($suites as $suite) {
            foreach ($suite->cases as $case) {
                if ($case->failures) {
                    $feedback[] = 'F';
                } elseif ($case->errors) {
                    $feedback[] = 'E';
                } elseif ($case->skipped) {
                    $feedback[] = 'S';
                } else {
                    $feedback[] = '.';
                }
            }
        }

        return $feedback;
    }
917778
private function getAllInfo()
    {
        $data = [];
        $anime_table = $this->_parser->find('div[class="seasonal-anime js-seasonal-anime"]');
        foreach ($anime_table as $each_anime) {
            $result = [];

            $name_area = $each_anime->find('div[class=title]', 0);
            $producer_area = $each_anime->find('div[class=prodsrc]', 0);
            $info_area = $each_anime->find('.information', 0);

            $result['image'] = $this->getAnimeImage($each_anime);
            $result['id'] = $this->getAnimeId($name_area);
            $result['title'] = $this->getAnimeTitle($name_area);
            $result['genre'] = $this->getAnimeGenre($each_anime);
            $result['synopsis'] = $this->getAnimeSynopsis($each_anime);
            $result['source'] = $this->getAnimeSource($producer_area);

            if ($this->_type == 'anime') {
                $result['producer'] = $this->getAnimeProducer($producer_area);
                $result['episode'] = $this->getAnimeEpisode($producer_area);
                $result['licensor'] = $this->getAnimeLicensor($each_anime);
                $result['type'] = $this->getAnimeType($info_area);
            } else {
                $result['author'] = $this->getAnimeProducer($producer_area);
                $result['volume'] = $this->getAnimeEpisode($producer_area);
                $result['serialization'] = $this->getAnimeLicensor($each_anime);
            }

            $result['airing_start'] = $this->getAnimeStart($info_area);
            $result['member'] = $this->getAnimeMember($info_area);
            $result['score'] = $this->getAnimeScore($info_area);

            $data[] = $result;
        }

        return $data;
    }
1031486
public function getRecommList()
    {
        if (!$this->getViewConfig()->getShowListmania()) {
            return false;
        }

        if ($this->_oRecommList === null) {
            $this->_oRecommList = false;
            if ($oProduct = $this->getProduct()) {
                $oRecommList = oxNew(\OxidEsales\Eshop\Application\Model\RecommendationList::class);
                $this->_oRecommList = $oRecommList->getRecommListsByIds([$oProduct->getId()]);
            }
        }

        return $this->_oRecommList;
    }
1078849
private function getLicensor($each_anime)
    {
        $temp_licensor = $each_anime->find('div[class="synopsis js-synopsis"] .licensors', 0)->getAttribute('data-licensors');
        $licensor = explode(',', $temp_licensor);

        return array_filter($licensor);
    }