Пример #1
0
 function __init()
 {
     parent::__init();
     $this->bnode_prefix = $this->v('bnode_prefix', 'arc' . substr(md5(uniqid(rand())), 0, 4) . 'b', $this->a);
     $this->bnode_id = 0;
     $this->bnode_pattern_index = array('patterns' => array(), 'bnodes' => array());
 }
Пример #2
0
 function addT($t)
 {
     if ($this->t_count > 5000) {
         call_user_func($this->callback, $this->getSimpleIndex(0));
         $this->triples = array();
         $this->t_count = 0;
     }
     parent::addT($t);
 }
 function __init()
 {
     parent::__init();
 }