46 parent::__construct($input);
80 if (!isset($this->_channelData[
$name])) {
81 $this->_channelData[
$name] = $value;
83 $this->_channelData[
$name] .= $value;
94 if (isset($this->_channelData[
$name])) {
95 return $this->_channelData[
$name];
109 $this->_imageData[
$name] = $value;
119 if (isset($this->_imageData[
$name])) {
120 return $this->_imageData[
$name];
134 $this->_items[] = $itemarr;
153 if (!isset($this->_tempArr[
$name])) {
154 $this->_tempArr[
$name] = $value;
156 $this->_tempArr[
$name] .= $delim . $value;
173 unset($this->_tempArr);
174 $this->_tempArr = array();
206 switch ($parser->getParentTag()) {
208 $parser->setChannelData(
'title', $data);
211 $parser->setImageData(
'title', $data);
215 $parser->setTempArr(
'title', $data);
240 switch ($parser->getParentTag()) {
242 $parser->setChannelData(
'link', $data);
245 $parser->setImageData(
'link', $data);
249 $parser->setTempArr(
'link', $data);
264 return 'description';
274 switch ($parser->getParentTag()) {
276 $parser->setChannelData(
'description', $data);
279 $parser->setImageData(
'description', $data);
283 $parser->setTempArr(
'description', $data);
309 switch ($parser->getParentTag()) {
311 $parser->setChannelData(
'generator', $data);
336 switch ($parser->getParentTag()) {
338 $parser->setChannelData(
'copyright', $data);
363 switch ($parser->getParentTag()) {
365 $parser->setTempArr(
'name', $data);
381 return 'managingEditor';
391 switch ($parser->getParentTag()) {
393 $parser->setChannelData(
'editor', $data);
419 switch ($parser->getParentTag()) {
421 $parser->setChannelData(
'language', $data);
446 switch ($parser->getParentTag()) {
448 $parser->setChannelData(
'webmaster', $data);
473 switch ($parser->getParentTag()) {
475 $parser->setChannelData(
'docs', $data);
500 switch ($parser->getParentTag()) {
502 $parser->setChannelData(
'ttl', $data);
527 $parser->resetTempArr();
536 $parser->setChannelData(
'textinput', $parser->getTempArr());
547 return 'lastBuildDate';
557 switch ($parser->getParentTag()) {
559 $parser->setChannelData(
'lastbuilddate', $data);
595 if ($parser->getParentTag() ==
'image') {
596 $parser->setImageData(
'url', $data);
618 if ($parser->getParentTag() ==
'image') {
619 $parser->setImageData(
'width', $data);
641 if ($parser->getParentTag() ==
'image') {
642 $parser->setImageData(
'height', $data);
664 $parser->resetTempArr();
673 $items = $parser->getTempArr();
674 $parser->setItems($items);
695 switch ($parser->getParentTag()) {
697 $parser->setChannelData(
'category', $data);
700 $parser->setTempArr(
'category', $data,
', ');
725 if ($parser->getParentTag() ==
'item') {
726 $parser->setTempArr(
'comments', $data);
748 switch ($parser->getParentTag()) {
750 $parser->setChannelData(
'pubdate', $data);
753 $parser->setTempArr(
'pubdate', $data);
778 if ($parser->getParentTag() ==
'item') {
779 $parser->setTempArr(
'guid', $data);
801 if ($parser->getParentTag() ==
'item') {
802 $parser->setTempArr(
'author', $data);
824 if ($parser->getParentTag() ==
'item') {
825 $parser->setTempArr(
'source_url', $attributes[
'url']);
836 if ($parser->getParentTag() ==
'item') {
837 $parser->setTempArr(
'source', $data);
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
addTagHandler(XmlTagHandler &$tagHandler)
handleCharacterData(&$parser, &$data)
handleEndElement(&$parser)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleBeginElement(&$parser, &$attributes)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleBeginElement(&$parser, &$attributes)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleEndElement(&$parser)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)
handleBeginElement(&$parser, &$attributes)
handleCharacterData(&$parser, &$data)
handleCharacterData(&$parser, &$data)