ContentBox Core API 1.5.7

contentbox.model.util
Class HQLHelper

WEB-INF.cftags.component
        extended by contentbox.model.util.HQLHelper

public class HQLHelper
extends WEB-INF.cftags.component

******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. *******************************************************************************


Method Summary
 array arrayReportToStruct(array hqlData, array columnNames)
          Take some nasty HQL array reports to nicer array of struct reports
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

arrayReportToStruct

public array arrayReportToStruct(array hqlData, array columnNames)
Take some nasty HQL array reports to nicer array of struct reports

Parameters:
hqlData - The nasty HQL query report
columnNames - The name of the columns (array) to inflate the structure of columns into, make sure they match the report or KABOOM!

ContentBox Core API 1.5.7