Lines Matching refs:term
396 function _name($term) {
397 if($term['type'] == 'variable') {
399 if(empty($this->_variableLookup[$term['text']])) {
400 $this->_variableLookup[$term['text']] = $this->_alias('v');
403 return $this->_variableLookup[$term['text']];
404 } elseif($term['type'] == 'literal') {
406 if(empty($this->_literalLookup[$term['text']])) {
408 $this->_literalLookup[$term['text']] = $this->_alias('lit');
412 return $this->_literalLookup[$term['text']];
536 // handle overlapping terms by coalescing them into a single term
701 // construct selected term list
807 foreach($orderTerms as $term) {
809 $fields[] = "$term AS $a";