Framework/Application/QueryBuilder.php
/**
	 * Returns string of ready for execute WhereClauses for SQL query
	 * TODO: Make different type of WHERE operators AND|OR|AND($val OR $val);
	 * 
	 * @param  array  $whereArr
	 * @return string
	 */
Returns string of ready for execute WhereClauses for SQL query
TODO: Make different type of WHERE operators AND|OR|AND($val OR $val).

@param  array  $whereArr
@return string
Returns string of ready for execute WhereClauses for SQL query TODO : Make different type of WHERE operators AND|OR|AND ( $val OR $val ) . @param array $whereArr @return string
private function makeWhereClauseFromArray(array $whereArr)
	{
		$whereClauses = [];
		foreach ($whereArr as $key => $value) {
			$whereClauses[] = sprintf('%s %s %s', $key, $value['where_type'], $value['where_value']) ;
		}
		return implode(' AND ', $whereClauses);
	}
private function makeWhereClauseFromArray ( array $ whereArr ) { $ whereClauses = [ ] ; foreach ( $ whereArr as $ key => $ value ) { $ whereClauses [ ] = sprintf ( '%s %s %s' , $ key , $ value [ 'where_type' ] , $ value [ 'where_value' ] ) ; } return implode ( ' AND ' , $ whereClauses ) ; }
Returns string of ready for execute WhereClauses for SQL query
 TODO: Make different type of WHERE operators AND|OR|AND($val OR $val);
Returns string of ready for execute WhereClauses for SQL query TODO : Make different type of WHERE operators AND|OR|AND ( $val OR $val ) ;