Imdb\Title::mpaa_reason PHP Метод

mpaa_reason() публичный Метод

Find out the reason for the MPAA rating
См. также: IMDB page / (TitlePage)
public mpaa_reason ( ) : string
Результат string reason why the movie was rated such
    public function mpaa_reason()
    {
        if (empty($this->mpaa_justification)) {
            $this->getPage("ParentalGuide");
            if (preg_match('!href="/mpaa"\\s*>.*?</h5>\\s*<div class="info-content">\\s*(.*?)\\s*</div!ims', $this->page["ParentalGuide"], $match)) {
                $this->mpaa_justification = trim($match[1]);
            }
        }
        return $this->mpaa_justification;
    }