Public Method Details |
pxdb_data |
public void pxdb_data([ mixed $dt ])
|
|
|
Parameter |
|
mixed |
$dt |
= >>null<< |
|
Datatype |
|
Returns |
void |
|
set_show_unapproved |
public void set_show_unapproved(bool $bool)
|
|
|
Parameter |
|
|
Returns |
void |
|
get_datatype |
public mixed get_datatype()
|
|
|
Returns |
mixed |
|
get_datatype_list |
public string get_datatype_list(string $delim)
|
|
Because a data object may be set up to retrieve data from more than one datatype, $datatype is always an array -- making this method necessary.
|
Parameter |
|
string |
$delim |
|
|
Warning: documentation is missing. |
|
Returns |
string delim -separated list of datatype(s). |
|
get_datatype_array |
public array get_datatype_array()
|
|
|
Returns |
array |
|
set_datatype |
public void set_datatype(mixed $dt)
|
|
|
Parameter |
|
mixed |
$dt |
|
|
Integer, array of integers, or comma-separated string of integers |
|
Returns |
void |
|
bind_tpl |
public void bind_tpl(object Smarty &$tpl)
|
|
|
Parameter |
|
object Smarty |
&$tpl |
|
|
The Smarty object to use instead of built-in. |
|
Returns |
void |
|
bind_auth |
public boolean bind_auth(object pxdb_auth &$auth)
|
|
This method allows you to bind an authentication class to an input / commit class. This method checks to make sure that the authentication class provides a recognizable interface.
|
Parameter |
|
object pxdb_auth |
&$auth |
|
|
The authentication object. |
|
Returns |
boolean True /false on success. |
|
lookup_colname |
public string lookup_colname(string $fieldname)
|
|
|
Parameter |
|
string |
$fieldname |
|
|
The identifier or dbfield fname. |
|
Returns |
string The record column name that corresonds to the specified field. |
|
get_column_identifiers |
public array get_column_identifiers()
|
|
Gets all column names from records and corresponding identifiers from typesfields.
|
Returns |
array Array of hash [fname] / [identifier] |
|
get_identifiers |
public array get_identifiers()
|
|
|
Returns |
array ? from ADOdb GetCol() method |
|
set_user_minimal_columns |
public void set_user_minimal_columns(array $arr)
|
|
|
Parameter |
|
array |
$arr |
|
|
, array of field names (database fields) |
|
Returns |
void |
|
sql_minimal_columns |
public string sql_minimal_columns([ string $alias ])
|
|
|
Parameter |
|
string |
$alias |
= >>''<< |
|
Alias to records table. |
|
Returns |
string SQL |
|
sql_aliased_columns |
public string sql_aliased_columns([ string $alias ])
|
|
This list is first a list of all fields (i.e. '*') and secondly a list of the aliased fields. Note that if there is a field in the aliased list it will override the value from the first list ('*').
|
Parameter |
|
string |
$alias |
= >>''<< |
|
The alias to the records table. |
|
Returns |
string The SQL to insert after the SELECT clause. |
|