Lines Matching defs:_ci
85 function _ci($a) {
98 return $this->_ci($a).' = '.$this->_ci($b);
373 function _ci($a) {
374 return $this->_triples->_ci($a);
432 $conditions[] = $this->_ci('subject').' = '.$this->_ci(':'.$id);
439 $conditions[] = $this->_ci('predicate').' = '.$this->_ci(':'.$id);
446 $conditions[] = $this->_ci('object').' = '.$this->_ci(':'.$id);
452 $conditions[] = $this->_ci('subject').' = '.$this->_ci('predicate');
457 $conditions[] = $this->_ci('subject').' = '.$this->_ci('object');
462 $conditions[] = $this->_ci('predicate').' = '.$this->_ci('object');
540 $intersect[] = '('.$this->_ci('r1.'.$c).' = '.$this->_ci('r2.'.$c).' OR r1.'.$c.' IS NULL OR r2.'.$c.' IS NULL)';
611 $filters[] = '( ' . $this->_ci($lhs) . ' '.$f['operator'].' ' . $this->_ci($rhs). ' )';
620 $filters[] = '( ' . $this->_ci($lhs) . ' '.$this->_db->stringCompare().' '. $this->_ci('(\'%\' || ' .$eh.$rhs.$et. ' || \'%\')') .$em. ')';
623 $filters[] = '( ' . $this->_ci($lhs) . ' NOT '.$this->_db->stringCompare().' '. $this->_ci('(\'%\' || ' . $eh.$rhs.$et. ' || \'%\')') .$em. ')';
626 $filters[] = '( ' . $this->_ci($lhs) . ' '.$this->_db->stringCompare().' ' .$this->_ci('('. $eh.$rhs.$et . ' || \'%\')').$em. ')';
629 $filters[] = '( ' . $this->_ci($lhs) . ' NOT '.$this->_db->stringCompare().' ' .$this->_ci('('. $eh.$rhs.$et . ' || \'%\')').$em. ')';
632 $filters[] = '( ' . $this->_ci($lhs) . ' '.$this->_db->stringCompare().' '.$this->_ci('(\'%\' || ' . $eh.$rhs.$et. ')') .$em. ')';
635 $filters[] = '( ' . $this->_ci($lhs) . ' NOT '.$this->_db->stringCompare().' '.$this->_ci('(\'%\' || ' . $eh.$rhs.$et. ')') .$em. ')';
663 $terms[] = '('.$this->_ci('r1.'.$c).' = '.$this->_ci('r2.'.$c).')';