| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/repository/thesaurus/common/arc2/store/ |
Upload File : |
<?php
/**
* ARC2 Store CrunchBase API JSON Loader
*
* @author Benjamin Nowack <bnowack@semsol.com>
* @license http://arc.semsol.org/license
* @homepage <http://arc.semsol.org/>
* @package ARC2
* @version 2010-11-16
*/
ARC2::inc('CBJSONParser');
class ARC2_StoreCBJSONLoader extends ARC2_CBJSONParser {
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 = '') {
$o = $this->toUTF8($o);
$this->caller->addT($s, $p, $o, $s_type, $o_type, $o_dt, $o_lang);
$this->t_count++;
}
/* */
}