ARC2_StoreRSSLoader.php 564 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /*
  3. homepage: http://arc.semsol.org/
  4. license: http://arc.semsol.org/license
  5. class: ARC2 Store RSS(2) Loader
  6. author: Benjamin Nowack
  7. version: 2010-11-16
  8. */
  9. ARC2::inc('RSSParser');
  10. class ARC2_StoreRSSLoader extends ARC2_RSSParser {
  11. function __construct($a, &$caller) {
  12. parent::__construct($a, $caller);
  13. }
  14. function __init() {
  15. parent::__init();
  16. }
  17. /* */
  18. function addT($t) {
  19. $this->caller->addT($t['s'], $t['p'], $t['o'], $t['s_type'], $t['o_type'], $t['o_datatype'], $t['o_lang']);
  20. $this->t_count++;
  21. }
  22. /* */
  23. }