PHP Класс Imdb\PersonSearch

Автор: Izzy (izzysoft AT qumran DOT org)
Наследование: extends MdbBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$name
$resu

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
buildUrl ( $context = null ) : string Create the IMDB URL for the name search

Описание методов

buildUrl() защищенный Метод

Create the IMDB URL for the name search
protected buildUrl ( $context = null ) : string
Результат string url

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.
public reset ( )

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

Setup search results
public results ( ) : Person[]
Результат Person[]

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

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

Описание свойств

$name публичное свойство

public $name

$resu публичное свойство

public $resu