/usr/share/php/arc/store/ARC2_StoreDumpQueryHandler.php is in libarc-php 2.2.5-1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?php
/*
homepage: http://arc.semsol.org/
license: http://arc.semsol.org/license
class: ARC2 RDF Store DUMP Query Handler
author: Benjamin Nowack
version: 2010-11-16
*/
ARC2::inc('StoreQueryHandler');
class ARC2_StoreDumpQueryHandler extends ARC2_StoreQueryHandler {
function __construct($a, &$caller) {/* caller has to be a store */
parent::__construct($a, $caller);
}
function __init() {/* db_con */
parent::__init();
$this->store = $this->caller;
}
/* */
function runQuery($infos, $keep_bnode_ids = 0) {
$this->infos = $infos;
$con = $this->store->getDBCon();
ARC2::inc('StoreDumper');
$d = new ARC2_StoreDumper($this->a, $this->store);
$d->dumpSPOG();
return 1;
}
/* */
}
|