english/libraries/joomla/database/databasequery.php
/**
	 * A conditions to the HAVING clause of the query.
	 *
	 * @param   mixed   $conditions  A string or array of columns.
	 * @param   string  $glue        The glue by which to join the conditions. Defaults to AND.
	 *
	 * @return  JDatabaseQuery  Returns this object to allow chaining.
	 *
	 * @since   11.1
	 */
A conditions to the HAVING clause of the query.
@param   mixed   $conditions  A string or array of columns.
@param   string  $glue        The glue by which to join the conditions. Defaults to AND.

@return  JDatabaseQuery  Returns this object to allow chaining.


A conditions to the HAVING clause of the query . @param mixed $conditions A string or array of columns . @param string $glue The glue by which to join the conditions . Defaults to AND . @return JDatabaseQuery Returns this object to allow chaining .
public function having($conditions, $glue='AND')
	{
		if (is_null($this->having)) {
			$glue = strtoupper($glue);
			$this->having = new JDatabaseQueryElement('HAVING', $conditions, " $glue ");
		}
		else {
			$this->having->append($conditions);
		}
		return $this;
	}
public function having ( $ conditions , $ glue = 'AND' ) { if ( is_null ( $ this -> having ) ) { $ glue = strtoupper ( $ glue ) ; $ this -> having = new JDatabaseQueryElement ( 'HAVING' , $ conditions , " $ glue " ) ; } else { $ this -> having -> append ( $ conditions ) ; } return $ this ; }
A conditions to the HAVING clause of the query.
A conditions to the HAVING clause of the query .