noalyss Version-9
|
class for the table document_type , a document_type is a kind of action in the follow up More...
Public Member Functions | |
__construct ($p_cn, $p_id=-1) | |
document_type More... | |
get () | |
Get all the data for this dt_id. More... | |
set_number ($p_int) | |
Restart the increment of the document. More... | |
Static Public Member Functions | |
static | get_list ($p_cn) |
get a list More... | |
class for the table document_type , a document_type is a kind of action in the follow up
< dt_id pk document_type < dt_value value
Definition at line 34 of file document_type.class.php.
Document_Type::__construct | ( | $p_cn, | |
$p_id = -1 |
|||
) |
document_type
constructor
$p_cn | database connx |
Definition at line 41 of file document_type.class.php.
Document_Type::get | ( | ) |
Get all the data for this dt_id.
Definition at line 51 of file document_type.class.php.
References $r, $sql, db, and DatabaseCore\fetch_array().
|
static |
get a list
$p_cn | database connection |
Definition at line 68 of file document_type.class.php.
References $array, $i, $r, $sql, $tmp, and Dossier\id().
Document_Type::set_number | ( | $p_int | ) |
Restart the increment of the document.
type | $p_int |
Definition at line 102 of file document_type.class.php.
References $e, alert(), db, and record_log().