首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 一个PHP类作为接口的电影从empireonline.com信息

一个PHP类作为接口的电影从empireonline.com信息

资 源 简 介

Gets a film from empireonline.com and grabs most of the info. First, create a new class, then method chain ($film->getDirectors()->getCast()->getPoster()) to get the info into the class. The data will then be accessible by $film->poster etc. Avaliable Info * getAll() - does all the below functions * getDirectors() - assigns and array of directors to $class->directors * getWriters() - assigns and array of writers to $class->writerss * getCast() - assigns and array of cast to $class->cast * getCertificate() - assigns the certificate (15, 18 etc) to $class->certificate * getRunningTime() - assigns the running time (in minutes) to $class->runningTime * getPlot() - assigns a small plot to $class->plot * getPoster() - assigns the url of a poster to $class->imageURL if there is one
VIP VIP
  • thomas 1小时前 成为了本站会员

  • 適瘢ヅ寂寞 12小时前 成为了本站会员

  • li 1天前 成为了本站会员

  • jinjin 1天前 成为了本站会员

  • 驭风者 1天前 成为了本站会员

  • MiraBit 1天前 成为了本站会员

  • 阿土 1天前 成为了本站会员

  • 小白 1天前 成为了本站会员

  • ↖ MESSI↘VII 2天前 成为了本站会员

  • lrx 2天前 成为了本站会员