noalyss
Version-9
|
\ 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 32 of file document_type.class.php.
Document_type::__construct | ( | $p_cn, | |
$p_id = -1 |
|||
) |
Document_type::get | ( | ) |
Get all the data for this dt_id.
Definition at line 49 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 66 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 100 of file document_type.class.php.
References $e, alert(), db, and record_log().