Overview   Package   Tree   Index 
IMDBPHP
PREV  NEXT Frames  No Frame 
SUMMARY:  FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

IMDB
Class imdb_person_search

- mdb_config
-

class imdb_person_search
extends mdb_base

Searching IMDB staff information

Authors:
Izzy (izzysoft AT qumran DOT org)
Version:
$Revision: 644 $ $Date: 2014-01-25 20:20:39 +0000 (Sat, 25 Jan 2014) $
Copyright:
2008-2009 by Itzchak Rehberg and IzzySoft

Method Summary
protected string mkurl()
Create the IMDB URL for the name search
void reset()
Reset search results This empties the collected search results.
array results([string $URL])
Setup search results
array search(string $searchTerms)
Search for people on imdb who match $searchTerms
void setsearchname(string $searchstring)
Set the name (title) to search for
void seturl(string $URL)
Set the URL (overwrite default search URL and run your own) This URL will be reset if you call the setsearchname() method

Methods inherited from class mdb_base and not overridden
cache_read, cache_write, get_pilot_imdbfill, getWebPage, imdbid, monthNo, openpage, purge, readCachedPage, reset_vars, set_pagename, set_pilot_imdbfill, setid, writeCachedPage

Method Detail

mkurl()

protected string mkurl()

Create the IMDB URL for the name search

Returns:
url

reset()

void 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()

array results([string $URL])

Setup search results

Parameters:
URL - Replace search URL by your own
Returns:
results array of objects (instances of the imdb_person class)

search()

array search(string $searchTerms)

Search for people on imdb who match $searchTerms

Parameters:
searchTerms -
Returns:
of imdb_person

setsearchname()

void setsearchname(string $searchstring)

Set the name (title) to search for

Parameters:
searchstring - what to search for - (part of) the movie name

seturl()

void seturl(string $URL)

Set the URL (overwrite default search URL and run your own) This URL will be reset if you call the setsearchname() method

Parameters:
URL - to use
Deprecated:
This will be dropped soon if nobody objects. Please check whether you're using it!

 Overview   Package   Tree   Index 
IMDBPHP
PREV  NEXT Frames  No Frame 
SUMMARY:  FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug

This document was generated by phpdocgen 0.17-rc3.
Copyright © 2002-03 Stephane GALLAND (under the GNU General Public License)