/** * Adds query to array of queries * @param Query $_q * @return $this */ public function addQuery(Query $_q) { $this->queryCount++; $_q->setHelperId($this->queryCount); $this->queries[] = $_q; return $this; }