Get movie info.

@return array
168692
public function getMovieInfo() {

		$post_id      = get_the_ID();
		$post_title   = get_the_title();
		$content_post = get_post( $post_id );

		$post_content = $content_post->post_content;
		$post_content = apply_filters( 'the_content', $post_content );
		$post_content = str_replace( ']]>', ']]&gt;', $post_content );

		$movie = [

			'Title'      => __( 'Title', 'extensions-for-grifus-copy' ),
			'Rated'      => __( 'Rated', 'extensions-for-grifus-copy' ),
			'Released'   => __( 'Published', 'extensions-for-grifus-copy' ),
			'imdbRating' => __( 'Rating', 'extensions-for-grifus-copy' ),
			'imdbVotes'  => __( 'Votes', 'extensions-for-grifus-copy' ),
			'Awards'     => __( 'Awards', 'extensions-for-grifus-copy' ),
			'Country'    => __( 'Country', 'extensions-for-grifus-copy' ),
		];

		foreach ( $movie as $key => $value ) {
			$data = info_movie_get_meta( $key );

			$movie[ $key ] .= ( $data ) ? ': ' . $data : ': ';
		}

		$movie['Original']  = __( 'Original', 'extensions-for-grifus-copy' );
		$movie['Original'] .= ': ';
		$movie['Original'] .= ( $post_title ) ? $post_title : '';

		$duration = get_post_custom_values( 'Runtime' );

		$movie['Duration']  = __( 'Duration', 'extensions-for-grifus-copy' );
		$movie['Duration'] .= ': ';
		$movie['Duration'] .= ( isset( $duration[0] ) ) ? $duration[0] : '';

		$movie['Sipnosis']  = __( 'Sipnosis', 'extensions-for-grifus-copy' );
		$movie['Sipnosis'] .= ': ';
		$movie['Sipnosis'] .= ( $post_content ) ? $post_content : '';

		$movie['Director']  = __( 'Director', 'extensions-for-grifus-copy' );
		$movie['Director'] .= ': ';

		$director = wp_get_post_terms( $post_id, 'director' );

		foreach ( $director as $key => $value ) {
			if ( isset( $value->name ) ) {
				$movie['Director'] .= $value->name . ', ';
			}
		}

		$movie['Stars'] = __( 'Stars', 'extensions-for-grifus-copy' ) . ': ';

		$stars = wp_get_post_terms( $post_id, 'star' );

		foreach ( $stars as $key => $value ) {
			if ( isset( $value->name ) ) {
				$movie['Stars'] .= $value->name . ', ';
			}
		}

		$movie['Cast'] = __( 'Cast', 'extensions-for-grifus-copy' ) . ': ';

		$cast = wp_get_post_terms( $post_id, 'actor' );

		foreach ( $cast as $key => $value ) {
			if ( isset( $value->name ) ) {
				$movie['Cast'] .= $value->name . ', ';
			}
		}

		$movie['Genre'] = __( 'Genre', 'extensions-for-grifus-copy' ) . ': ';

		$categories = get_the_category();

		foreach ( $categories as $key => $value ) {
			if ( isset( $value->name ) ) {
				$movie['Genre'] .= $value->name . ', ';
			}
		}

		$params = [

			'postID'      => $post_id,
			'movie_info'  => [

				'the_title' => $movie['Original'] . "\n\n",
				'title'     => $movie['Title'] . "\n\n",
				'published' => $movie['Released'] . "\n\n",
				'rated'     => $movie['Rated'] . "\n\n",
				'duration'  => $movie['Duration'] . "\n\n",
				'rating'    => $movie['imdbRating'] . "\n\n",
				'votes'     => $movie['imdbVotes'] . "\n\n",
				'awards'    => html_entity_decode( $movie['Awards'] ) . "\n\n",
				'country'   => $movie['Country'] . ".\n\n",
				'sipnosis'  => strip_tags( trim( $movie['Sipnosis'] ) ) . "\n\n",
				'director'  => trim( $movie['Director'], ', ' ) . ".\n\n",
				'stars'     => trim( $movie['Stars'], ', ' ) . ".\n\n",
				'cast'      => trim( $movie['Cast'], ', ' ) . ".\n\n",
				'genre'     => trim( $movie['Genre'], ', ' ) . '.',
			],
			'copy_title'  => __(
				'Copy information',
				'extensions-for-grifus-copy'
			),
			'copy_button' => __( 'Copy', 'extensions-for-grifus-copy' ),
		];

		return $params;
	}
325139
protected function getContents()
    {
        // Cancel if the file doesn't exist
        if (!$this->getFilesystem()->has($this->getFilepath())) {
            return [];
        }

        // Get and parse file
        if ($this->contents === null) {
            $this->contents = $this->getFilesystem()->read($this->getFilepath());
            $this->contents = json_decode($this->contents, true);
        }

        return (array) $this->contents;
    }
43506
public function getInfos()
    {
        if (!$this->exists() || !$this->isVideo()) {
            return false;
        }
        $standard = self::getVideoInfos();
        return $standard;
    }
806543
public function getInfo() {
		$info = $this->createInfoset();
		
		$this->handleIcon($info);
		$this->createTitle($info);
		$this->createContent($info);
		
		return $info;
	}
955132
public function get_archive_item_details() {
		return array(
			'year'  => array(
				'condition'    => is_year() || is_month() || is_day(),
				'title_format' => 'Y',
				'link'         => get_year_link( get_query_var( 'year' ) ),
			),
			'month' => array(
				'condition'    => is_month() || is_day(),
				'title_format' => 'F',
				'link'         => get_month_link( get_query_var( 'year' ), get_query_var( 'monthnum' ) ),
			),
			'day'   => array(
				'condition'    => is_day(),
				'title_format' => 'd',
				'link'         => get_day_link( get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) ),
			),
		);
	}
1331981
public function getInformation(): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/pages',
            $this->getRepositories()->getOwner(), $this->getRepositories()->getRepo()));
    }
413554
private function getAllInfo()
    {
        $friend = [];
        $friend_area = $this->_parser->find('.majorPad', 0);
        if ($friend_area) {
            foreach ($friend_area->find('.friendHolder') as $f) {
                $f_dump = [];
                $f = $f->find('.friendBlock', 0);

                $f_dump['image'] = $this->getImage($f);
                $f_dump['name'] = $this->getName($f);
                $f_dump['last_online'] = $this->getLastOnline($f);
                $f_dump['friend_since'] = $this->getFriendSince($f);

                $friend[] = $f_dump;
            }
        }

        return $friend;
    }
910982
public function getRevScanInfo(){
        if (isset($this->_receive['ScanCodeInfo'])){
            if (!is_array($this->_receive['SendPicsInfo'])) {
                $array=(array)$this->_receive['ScanCodeInfo'];
                $this->_receive['ScanCodeInfo']=$array;
            }else {
                $array=$this->_receive['ScanCodeInfo'];
            }
        }
        if (isset($array) && count($array) > 0) {
            return $array;
        } else {
            return false;
        }
    }
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;
    }
334385
private function getPromotion()
    {
        $promotion = [];
        $promotion_area = $this->_parser->find('.promotional-video', 0);
        if ($promotion_area) {
            foreach ($promotion_area->find('.video-list-outer') as $v) {
                $temp = [];

                $link_area = $v->find('a', 0);
                $temp['title'] = $this->getPromotionTitle($link_area);
                $temp['link'] = $this->getPromotionLink($link_area);

                $promotion[] = $temp;
            }
        }

        return $promotion;
    }
499719
public function getData(){
        if($this->videoItems){
            foreach($this->videoItems as $videoItem){
                $this->data['videoItems'][] = $videoItem->getData(); 
            } 
        }
        return $this->data;
    }
565922
public function info()
    {
        $this->check();
        return [
            'starttransfer_time'    => $this->response()->starttransfer_time(),
            'size_download'    => $this->response()->size_download(),
            'speed_download'    => $this->response()->speed_download(),
            'size_upload'    => $this->response()->size_upload(),
            'upload_content' => $this->response()->upload_content_length(),
            'speed_upload'   => $this->response()->speed_upload(),
            'time_request'   => $this->response()->total_time()
        ];
    }
864200
public function info()
    {
        $info = [
            'id' => $this->id,
            'project' => $this->project,
            'uniquifier' => $this->uniquifier,
            'description' => $this->description,
            'isInactive' => $this->isInactive,
            'agentVersion' => $this->agentVersion,
            'sourceContexts' => array_map(function ($esc) {
                if (empty($esc)) {
                    return [];
                }
                return is_array($esc) ? $esc['context'] : $esc->context()->info();
            }, $this->extSourceContexts),
            'extSourceContexts' => array_map(function ($esc) {
                return is_array($esc) ? $esc : $esc->info();
            }, $this->extSourceContexts)
        ];
        if ($this->status) {
            $info['status'] = $this->status->info();
        }
        if (!empty($this->labels)) {
            $info['labels'] = $this->labels;
        }
        return $info;
    }
742108
protected function getFileInfo()
    {
        if (!isset($this->fileInfo)) {
            $this->fileInfo = new \finfo(FILEINFO_MIME_TYPE);
        }

        return $this->fileInfo;
    }
770700
private function getAllInfo()
    {
        $data = [];
        $offset = 0;
        while (true) {
            $url = $this->_myAnimeListUrl.'/'.$this->_type.'list/'.$this->_user.'/load.json?offset='.$offset.'&status='.$this->_status;

            $content = json_decode(file_get_contents($url), true);

            if ($content) {
                $count = count($content);
                for ($i = 0; $i < $count; $i++) {
                    if (!empty($content[$i]['anime_image_path'])) {
                        $content[$i]['anime_image_path'] = Helper::imageUrlCleaner($content[$i]['anime_image_path']);
                    } else {
                        $content[$i]['manga_image_path'] = Helper::imageUrlCleaner($content[$i]['manga_image_path']);
                    }
                }

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

                $offset += 300;
            } else {
                break;
            }
        }

        return $data;
    }
414798
function info()
    {
        if (empty($this->_info)){
            $file = $this->getDir().'/'.$this->file;
            if (is_file($file) && ($info = getimagesize($file))){
                $ext = array(1 => 'gif', 2 => 'jpg', 3 => 'png', 4 => 'swf', 5 => 'psd', 6 => 'bmp', 7 => 'tiff', 8 => 'tiff',
                       9 => 'jpc', 10 => 'jp2', 11 => 'jpx', 12 => 'jb2', 13 => 'swc', 14 => 'iff', 15 => 'wbmp', 16 => 'xbmp'
                );
                $this->_info = array(
                    'width' => $info[0],
                    'height' => $info[1],
                    'ext' => $ext[$info[2]],
                    'quality' => 100
                );
                if (empty($this->_convert)) $this->_convert = $ext[$info[2]];
            }
        }
        return $this->_info;
    }
775586
public function info()
    {
        $data = [
            'traceId' => $this->traceId,
            'spanId' => $this->spanId,
            'type' => $this->type
        ];
        if ($this->attributes) {
            $data['attributes'] = $this->attributes->info();
        }

        return $data;
    }