PHP Class Imdb\PersonSearch

Author: Izzy (izzysoft AT qumran DOT org)
Inheritance: extends MdbBase
Afficher le fichier Open project: tboothman/imdbphp

Méthodes publiques

Свойство Type Description
$name
$resu

Méthodes publiques

Méthode 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

Méthodes protégées

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

Method Details

buildUrl() protected méthode

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

reset() public méthode

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 méthode

Setup search results
public results ( ) : Person[]
Résultat Person[]

setsearchname() public méthode

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

Property Details

$name public_oe property

public $name

$resu public_oe property

public $resu