|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.search.SearchResults
public class SearchResults
******************************************************************************* 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. ******************************************************************************* The official ContentBox Search Results Object
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
boolean |
GETERROR()
get: Mark if the search results produce an error or not |
array |
GETERRORMESSAGES()
get: An array of error messagse if any |
struct |
GETMETADATA()
get: Any metadata structure you wish to store |
any |
GETRESULTS()
get: The search results in query or array or whatever format |
string |
GETSEARCHTERM()
get: The search term used |
numeric |
GETSEARCHTIME()
get: The amount of time it took for the search in milliseconds |
numeric |
GETTOTAL()
get: The total number of records found |
void |
SETERROR(boolean error)
set: Mark if the search results produce an error or not |
void |
SETERRORMESSAGES(array errorMessages)
set: An array of error messagse if any |
void |
SETMETADATA(struct metadata)
set: Any metadata structure you wish to store |
void |
SETRESULTS(any results)
set: The search results in query or array or whatever format |
void |
SETSEARCHTERM(string searchTerm)
set: The search term used |
void |
SETSEARCHTIME(numeric searchTime)
set: The amount of time it took for the search in milliseconds |
void |
SETTOTAL(numeric total)
set: The total number of records found |
struct |
getMemento()
|
SearchResults |
populate(struct memento)
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public boolean GETERROR()
public array GETERRORMESSAGES()
public struct GETMETADATA()
public any GETRESULTS()
public string GETSEARCHTERM()
public numeric GETSEARCHTIME()
public numeric GETTOTAL()
public void SETERROR(boolean error)
error
public void SETERRORMESSAGES(array errorMessages)
errorMessages
public void SETMETADATA(struct metadata)
metadata
public void SETRESULTS(any results)
results
public void SETSEARCHTERM(string searchTerm)
searchTerm
public void SETSEARCHTIME(numeric searchTime)
searchTime
public void SETTOTAL(numeric total)
total
public struct getMemento()
public SearchResults populate(struct memento)
memento
|
ContentBox Core API 1.5.7 | ||||
FRAMES |