◆ __construct()
Constructor
Pass nothing to use a new instance of db_class_name, the classname for a new instance, or existing instance
public
- Parameters
-
mixed | $db | classname of used db abstraction or existing db object |
◆ __get()
◆ addView()
◆ get_parsed_query()
get_parsed_query |
( |
|
$query_list | ) |
|
◆ get_query()
◆ get_temp_table()
get_temp_table |
( |
|
$sub_query | ) |
|
◆ get_temp_values()
get_temp_values |
( |
|
$sub_query | ) |
|
◆ Get_union()
◆ get_uniqid()
◆ get_value_list()
◆ get_view()
◆ getView()
static getView |
( |
|
$view, |
|
|
|
$db = '' |
|
) |
| |
|
static |
Convenience method that combines addView() and returns an instance.
- Parameters
-
String | $view | Required view (at least this will be present in the returned instance) |
mixed | $db | classname of db abstraction or existing db object |
- Returns
- DbView Instance of self with at least the required view loaded
◆ halt()
print error message and exit script
private
- Parameters
-
string | $msg | the message to print |
◆ init_views()
◆ parse_query()
◆ $auto_free_params
boolean $auto_free_params = true |
delete the params array after each query execution
public
◆ $dbviewfiles
◆ $dbviews
◆ $debug
turn on/off debugging
public
◆ $params
list of parameters
public
The documentation for this class was generated from the following file: