Public Method Details |
pxdb_picktable |
public void pxdb_picktable([ string $table_name ])
|
|
|
Parameter |
|
string |
$table_name |
= >>null<< |
|
Optional name of table to be accessed |
|
Returns |
void |
|
set_table |
public boolean set_table([ string $table ])
|
|
|
Parameter |
|
string |
$table |
= >>null<< |
|
The name of the table to be accessed |
|
Returns |
boolean |
|
get_table |
public string get_table()
|
|
|
Returns |
string |
|
get_picktable_array |
public array get_picktable_array([ string $table ])
|
|
|
Parameter |
|
string |
$table |
= >>null<< |
|
optional list of fields & aliases to be returned |
|
Returns |
array |
|
get_listwidget_array |
public array get_listwidget_array([ string $table ], string $value_field)
|
|
|
Parameter |
|
string |
$table |
= >>null<< |
|
optional name of the picktable to be accessed |
|
|
string |
$value_field |
|
|
Warning: documentation is missing. |
|
Returns |
array |
Author(s) |
Nyk Cowham <nyk@forumone.com> |
|
access_picktable |
public object ADOResultSet access_picktable([ string $table, string $field_list ])
|
|
|
Parameter |
|
string |
$table |
= >>null<< |
|
optional name of the picktable to be accessed |
|
|
string |
$field_list |
= >>null<< |
|
optional list of fields & aliases to be returned |
|
Returns |
object ADOResultSet on success, boolean false on failure |
|
set_orderby |
public boolean set_orderby([ string $orderby ])
|
|
|
Parameter |
|
string |
$orderby |
= >>null<< |
|
The SQL to order the results |
|
Returns |
boolean |
|
get_orderby |
public boolean get_orderby()
|
|
|
Returns |
boolean |
|
get_resultset |
public boolean get_resultset()
|
|
|
Returns |
boolean True /false on success. |
|
get_fields |
public array get_fields([ string $table ])
|
|
|
Parameter |
|
string |
$table |
= >>null<< |
|
optional name of the picktable to be accessed |
|
Returns |
array Array of column names for that picktable. |
|
lookup_value |
public integer lookup_value(string $label, [ string $table ])
|
|
situations where you need to build links to related objects.
|
Parameter |
|
string |
$label |
|
|
The label given from a pxdb_record output class |
|
|
string |
$table |
= >>null<< |
|
The name of the table to lookup from (optional) |
|
Returns |
integer value (id) of a given label, false if not found |
|
lookup_label |
public string lookup_label(integer $value, [ string $table ])
|
|
situations where you need to do a table lookup.
|
Parameter |
|
integer |
$value |
|
|
The value given from a pxdb_record output class |
|
|
string |
$table |
= >>null<< |
|
The name of the table to lookup from (optional) |
|
Returns |
string value (label) of a given id, false if not found |
|