Manage the table importbank.format_bank. More...
Public Member Functions | |
__construct (&$p_cn, $p_id=-1) | |
get_parameter ($p_string) | |
set_parameter ($p_string, $p_value) | |
get_info () | |
verify () | |
save () | |
seek ($cond='', $p_array=null) | |
retrieve array of object thanks a condition More... | |
get_object ($p_ret, $idx) | |
get_seek return the next object, the return of the query must have all the column of the object More... | |
insert () | |
update () | |
load () | |
load a object More... | |
delete () | |
Static Public Member Functions | |
static | test_me () |
Unit test for the class. More... | |
Protected Attributes | |
$variable | |
Manage the table importbank.format_bank.
Definition at line 36 of file class_format_bank_sql.php.
Format_Bank_sql::__construct | ( | & | $p_cn, |
$p_id = -1 |
|||
) |
Definition at line 55 of file class_format_bank_sql.php.
Format_Bank_sql::delete | ( | ) |
Definition at line 362 of file class_format_bank_sql.php.
Format_Bank_sql::get_info | ( | ) |
Definition at line 93 of file class_format_bank_sql.php.
Format_Bank_sql::get_object | ( | $p_ret, | |
$idx | |||
) |
get_seek return the next object, the return of the query must have all the column of the object
$p_ret | is the return value of an exec_sql |
$idx | is the index |
Definition at line 146 of file class_format_bank_sql.php.
References $array.
Format_Bank_sql::get_parameter | ( | $p_string | ) |
Definition at line 73 of file class_format_bank_sql.php.
Format_Bank_sql::insert | ( | ) |
Format_Bank_sql::load | ( | ) |
load a object
Definition at line 324 of file class_format_bank_sql.php.
References $key, $res, and $sql.
Referenced by __construct().
Format_Bank_sql::save | ( | ) |
Format_Bank_sql::seek | ( | $cond = '' , |
|
$p_array = null |
|||
) |
retrieve array of object thanks a condition
$cond | condition (where clause) (optional by default all the rows are fetched) you can use this parameter for the order or subselect |
$p_array | array for the SQL stmt |
Definition at line 131 of file class_format_bank_sql.php.
Format_Bank_sql::set_parameter | ( | $p_string, | |
$p_value | |||
) |
Definition at line 83 of file class_format_bank_sql.php.
|
static |
Format_Bank_sql::update | ( | ) |
Format_Bank_sql::verify | ( | ) |
|
protected |
Definition at line 40 of file class_format_bank_sql.php.