|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
class for the table document_type , a document_type is a kind of action in the follow up More...
Collaboration diagram for Document_Type:Public Member Functions | |
| __construct (Database $p_cn, $p_id=-1) | |
| document_type | |
| get () | |
| Get all the data for this dt_id. | |
| set_number ($p_int) | |
| Restart the increment of the document. | |
Static Public Member Functions | |
| static | get_list ($p_cn) |
| get a list | |
Data Fields | |
| $db | |
| Database conx. | |
| $dt_id | |
| $dt_id (int) primary key of DOCUMENT_TYPE | |
| $dt_prefix | |
| $dt_prefix (text) prefix to use for this | |
| $dt_value | |
| $dt_value (text) description of document type | |
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 | ( | Database | $p_cn, |
| $p_id = -1 ) |
document_type
constructor
| $p_cn | database connx |
Definition at line 45 of file document_type.class.php.
| Document_Type::get | ( | ) |
Get all the data for this dt_id.
Definition at line 55 of file document_type.class.php.
References $r, $sql, db, and DatabaseCore\fetch_array().
Here is the call graph for this function:
|
static |
get a list
| $p_cn | database connection |
Definition at line 72 of file document_type.class.php.
| Document_Type::set_number | ( | $p_int | ) |
Restart the increment of the document.
| type | $p_int |
Definition at line 106 of file document_type.class.php.
References $e, alert(), db, and record_log().
Here is the call graph for this function:| Document_Type::$db |
Database conx.
Definition at line 36 of file document_type.class.php.
| Document_Type::$dt_id |
$dt_id (int) primary key of DOCUMENT_TYPE
Definition at line 37 of file document_type.class.php.
| Document_Type::$dt_prefix |
$dt_prefix (text) prefix to use for this
Definition at line 39 of file document_type.class.php.
| Document_Type::$dt_value |
$dt_value (text) description of document type
Definition at line 38 of file document_type.class.php.