Imdb\Person::movies_actor PHP Method

movies_actor() public method

Get an actor or actress' filmography
See also: IMDB person page / (Main page)
public movies_actor ( ) : array
return array array[0..n][mid,name,year,title_type,chid,chname,addons], where chid is the character IMDB ID, chname the character name, and addons an array of additional remarks (the things in parenthesis)
    public function movies_actor()
    {
        if (empty($this->actorsfilms)) {
            $this->filmograf($this->actorsfilms, "actor");
            $this->filmograf($this->actorsfilms, "actress");
        }
        return $this->actorsfilms;
    }