예제 #1
0
파일: Rss20.php 프로젝트: stevecoug/cohort
 public function __construct($xml, $debug = false)
 {
     parent::__construct($debug);
     $this->xml = $xml;
     $this->title = $this->xml->channel->title;
     $this->num_items = count($this->xml->channel->item);
 }