Lines Matching refs:terms
499 $terms = array();
503 $terms[] = $this->_name($tp['subject']);
508 $terms[] = $this->_name($tp['predicate']);
513 $terms[] = $this->_name($tp['object']);
519 'terms'=>array_unique($terms)
528 $terms = array_unique(array_merge($gp1['terms'], $gp2['terms']));
534 $fields = array_diff($terms, $common);
552 'terms'=>$terms
661 $terms = array();
663 $terms[] = '('.$this->_ci('r1.'.$c).' = '.$this->_ci('r2.'.$c).')';
666 if(count($terms)>0) {
667 $terms = implode(' AND ',$terms);
669 $terms = '1=1';
673 … FROM ('.$gp1['sql'].') r1 WHERE NOT EXISTS (SELECT * FROM ('.$gp2['sql'].') r2 WHERE '.$terms.')',
699 $terms = array_unique(array_merge($gp1['terms'], $gp2['terms']));
716 'terms'=>$terms
729 $terms = array();
783 $terms[] = $name;
826 'terms'=>$terms