|
|
pxdb.content.input
pxdb_confront
pxdb_data | +-- pxdb_confront
|
public class pxdb_confront extends pxdb_data
|
|
Direct known subclasses: pxdb_commit, pxdb_input, pxdb_validator, pxdb_widgets
|
|
Methods inherited from pxdb_data |
pxdb_data, set_show_unapproved, get_datatype, get_datatype_list, get_datatype_array, set_datatype, bind_tpl, bind_auth, lookup_colname, lookup_tfid, get_column_identifiers, get_identifiers, set_user_minimal_columns, sql_minimal_columns, sql_aliased_columns |
|
|
|
|
|
Private Field Summary |
array |
$_imported Vars imported from global / $_REQUEST scope.
|
array |
$_upload_fields Stores the form fields that are of "upload" type.
|
array |
$_params pxdb parameters
|
array |
$_widget_params Paramters for widgets (from pxdb[widget] array).
|
array |
$_data pxdb data
|
|
Public Method Details |
pxdb_confront |
public void pxdb_confront()
|
|
|
Returns |
void |
|
import |
public void import([ array $source ])
|
|
|
Parameter |
|
array |
$source |
= >>null<< |
|
The location of source data to use. (for upward compatibility with pxdb::import()) |
|
Returns |
void |
|
bind_validator |
public boolean bind_validator(object [unknown] &$validator)
|
|
The class must have been instantiated, and must conform to a standard pxdb_validator interface. This interface can be seen in the pxdb_validator class, which you may wish to extend / override.
|
Parameter |
|
object [unknown] |
&$validator |
|
|
The class used to validate data (must conform to interface used above); |
|
Returns |
boolean |
|
|
Private Method Details |
_get_form_element_name |
private string _get_form_element_name(string $type, string $name)
|
|
|
Parameter |
|
string |
$type |
|
|
The type of element this is: e.g. data, param, widget_param |
|
|
string |
$name |
|
|
The name to insert into the template. |
|
Returns |
string |
|
_invoke_user_method |
private string _invoke_user_method(mixed $function, mixed $data, object [unknown] &$object)
|
|
Currently simply a wrapper for PHP's call_user_func() function.
|
Parameter |
|
mixed |
$function |
|
|
The function name or array of object reference and method name. |
|
|
mixed |
$data |
|
|
The data that needs to be passed to the function. |
|
|
object [unknown] |
&$object |
|
|
Some Hans idea of something to pass. |
|
Returns |
string The widget created by function call. |
|
_import_uploaded_files |
private boolean _import_uploaded_files()
|
|
This function is used both by pxdb_commit and pxdb_input (on page reload any specified files are sent to the server).
|
Returns |
boolean Success or failure |
|
|
|
|
|
|
Generated on Fri, 28 Apr 2006 19:07:22 -0400 by PHPDoc v1.5 www.phpdoc.de
|