Framework/Application/QueryBuilder.php
/**
	 * Returns string of fields for update sql query
	 * 
	 * @param  array $updateArr
	 * @return string
	 */
Returns string of fields for update sql query

@param  array $updateArr
@return string
Returns string of fields for update sql query @param array $updateArr @return string
private function makeUpdateFields(array $updateArr)
	{
		$fields = [];
		$keys = array_keys($updateArr);
		foreach ($keys as $key) {
			$fields[] = $key . ' = ' . ':' . $key;
		}
		return implode(',', $fields);
	}
private function makeUpdateFields ( array $ updateArr ) { $ fields = [ ] ; $ keys = array_keys ( $ updateArr ) ; foreach ( $ keys as $ key ) { $ fields [ ] = $ key . ' = ' . ':' . $ key ; } return implode ( ',' , $ fields ) ; }
Returns string of fields for update sql query
Returns string of fields for update sql query