<?php
/*
@homepage <https://github.com/semsol/arc2>
@license W3C Software License and GPL

class:    ARC2 Store Atom(2) Loader
author:   Benjamin Nowack
version:  2010-11-16
*/

ARC2::inc('AtomParser');

class ARC2_StoreAtomLoader extends ARC2_AtomParser
{
    public function __construct($a, &$caller)
    {
        parent::__construct($a, $caller);
    }

    public function __init()
    {
        parent::__init();
    }

    public function addT($t)
    {
        $this->caller->addT($t['s'], $t['p'], $t['o'], $t['s_type'], $t['o_type'], $t['o_datatype'], $t['o_lang']);
        ++$this->t_count;
    }
}
