PHP 클래스 Imdb\PersonSearch

저자: Izzy (izzysoft AT qumran DOT org)
상속: extends MdbBase
파일 보기 프로젝트 열기: tboothman/imdbphp

공개 프로퍼티들

프로퍼티 타입 설명
$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