Imdb\Title::gross PHP Method

gross() public method

Gross takings by country and date (usually per week for recent films)
See also: IMDB page /business
public gross ( ) : array[0..n]
return array[0..n]
    public function gross()
    {
        if (empty($this->gross)) {
            $page = $this->getPage("BoxOffice");
            if (@preg_match("!<h5>Gross</h5>\n*(.*?)<br/>\n*<h5!ims", $page, $gr)) {
                // Gross
                $gross = $gr[1];
            }
            $this->gross = $this->get_gross($gross);
        }
        return $this->gross;
    }