1) { $field = array_pop($a); $operator = array_shift($e); $value = implode(" ",$e); $reference = implode(".",$a); $count = count($a); $table = $this->query->load($reference, false); $where = $this->query->getTableAlias($reference).".".$field." ".$operator." ".$value; } return $where; } public function __toString() { return ( ! empty($this->parts))?implode(" AND ", $this->parts):''; } } ?>