Mercurial > hg > rr-repo
view sites/all/libraries/ARC2/arc/store/ARC2_StoreSGAJSONLoader.php @ 4:ce11bbd8f642
added modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 19 Sep 2013 10:38:44 +0100 |
parents | |
children |
line wrap: on
line source
<?php /* homepage: http://arc.semsol.org/ license: http://arc.semsol.org/license class: ARC2 Store SG API JSON Loader author: Benjamin Nowack version: 2010-11-16 */ ARC2::inc('SGAJSONParser'); class ARC2_StoreSGAJSONLoader extends ARC2_SGAJSONParser { function __construct($a, &$caller) { parent::__construct($a, $caller); } function __init() { parent::__init(); } /* */ function done() { $this->extractRDF(); } function addT($s, $p, $o, $s_type, $o_type, $o_dt = '', $o_lang = '') { $this->caller->addT($s, $p, $o, $s_type, $o_type, $o_dt, $o_lang); $this->t_count++; } /* */ }