Located in /widgets/data_list/SQLDataListSource.inc (line 18)
DataListSource | --SQLDataListSource
Class | Description |
---|---|
WordPressSQLDataListSource | This SQLDataListSource child class interacts with with the specific DB via the php WordPress DB abstraction objects. |
PEARSQLDataListSource | This SQLDataListSource child class interacts with with the specific DB via the php PEAR DB abstraction objects. |
ADODBSQLDataListSource | This SQLDataListSource child class interacts with with the specific DB via the php ADODB DB abstraction objects. |
PGSQLDataListSource | This SQLDataListSource child class interacts with |
PEARDB_DataObjectDataListSource | This class provides DB abstraction for phpHtmlLib datalists using DB_DataObjects as the interface |
this holds all of the options
that make up the sql query
The flag that tells us to use case sensitive order by as a default.
NOTE: we are case sensitive by default
The entire query built by
build_query()
The flag to make the simple search where clause case insensitive for the search column.
NOTE: we are case insensitive by default
Inherited from DataListSource
DataListSource::$_columns
DataListSource::$_data
DataListSource::$_data_index
DataListSource::$_debug
DataListSource::$_query_params
This function is responsible for building the portion of the where clause for doing an advanced search.
NOTE: the child class MUST override this method
this builds the groupby clause of the query
This function builds the limit clause portion of a DB query.
This is specific to the particular DB implementation.
This builds the db query ORDER BY clause used to sort the data from the DB.
build the entire DB query
This method builds the where clause.
This builds the where clause for the query
find the number of rows to be returned from a query from a table and where clause
Do the query to the DB and pull in all of the records locally.
this returns the current count column
returns the table(s) used in the query
This function returns the values we need to search for in the sql query
This function is used to get the flag for the ability to sort/order by case sensitive or not.
This function gets the next data row from the query()
This function is used to get the flag that tells the simple search clause method to enable the lower() function which will make the search case insensitive.
This function does the variable cleaning that is required to use a search value in a sql query
Set which DB options to use for this list.
This function builds the orderby clause for the DB query.
This function changes the counted column.
By default, we use count(1) But sometime you need count(distinct KEY) for example
Sets the groupby clause for the query
Set the tables from the DB you want to select on.
Set the values we want to select from the db.
Set the user portion of the where clause.
This function is used to set the flag for the ability to sort/order by case sensitive or not.
This function is used to set the flag that tells the simple search clause method to enable the lower() function which will make the search case insensitive.
this builds the search clause
Clean up the string so it can work in a db
Inherited From DataListSource
DataListSource::DataListSource()
DataListSource::add_column()
DataListSource::do_prequery()
DataListSource::do_query()
DataListSource::get_data_index()
DataListSource::get_limit()
DataListSource::get_next_data_row()
DataListSource::get_offset()
DataListSource::get_orderby()
DataListSource::get_reverseorder()
DataListSource::get_searchby()
DataListSource::get_searchby_value()
DataListSource::get_search_type()
DataListSource::get_secondary_orderby()
DataListSource::get_simplesearch_modifier()
DataListSource::get_total_rows()
DataListSource::query()
DataListSource::row_filter()
DataListSource::set_debug()
DataListSource::set_limit()
DataListSource::set_offset()
DataListSource::set_orderby()
DataListSource::set_reverseorder()
DataListSource::set_searchby()
DataListSource::set_searchby_value()
DataListSource::set_search_type()
DataListSource::set_secondary_orderby()
DataListSource::set_simplesearch_modifier()
DataListSource::set_total_rows()
DataListSource::sort()
DataListSource::_is_column_sortable()
Documentation generated on Fri, 28 Jan 2011 08:53:13 -0500 by phpDocumentor 1.4.3