PHP Class Imdb\PersonSearch

Author: Izzy (izzysoft AT qumran DOT org)
Inheritance: extends MdbBase
Datei anzeigen Open project: tboothman/imdbphp

Public Properties

Property Type Description
$name
$resu

Public Methods

Method Description
reset ( ) Reset search results This empties the collected search results. Without calling this, every new search appends its results to the ones collected by the previous search.
results ( ) : Person[] Setup search results
search ( string $searchTerms ) : Person[] Search for people on imdb who match $searchTerms
setsearchname ( $name ) Set the name (title) to search for

Protected Methods

Method Description
buildUrl ( $context = null ) : string Create the IMDB URL for the name search

Method Details

buildUrl() protected method

Create the IMDB URL for the name search
protected buildUrl ( $context = null ) : string
return string url

reset() public method

Reset search results This empties the collected search results. Without calling this, every new search appends its results to the ones collected by the previous search.
public reset ( )

results() public method

Setup search results
public results ( ) : Person[]
return Person[]

setsearchname() public method

Set the name (title) to search for
public setsearchname ( $name )

Property Details

$name public_oe property

public $name

$resu public_oe property

public $resu