|
noalyss Version-10
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, int $dt_id=-1) | |
| constructor document_type | |
| __toString () | |
| get () | |
| Get all the data for this dt_id. | |
| set_number (int $p_int) | |
| Restart the increment of the document. | |
Static Public Member Functions | |
| static | get_list ($p_cn) |
| get a list | |
| static | test_me () |
| unit test for Document_Type | |
Data Fields | |
| $db | |
| Database Connection. | |
| $dt_id | |
| primary key see SQL DOCUMENT_TYPE.DT_ID | |
| $dt_prefix | |
| prefix for numbering see SQL DOCUMENT_TYPE.DT_PREFIX | |
| $dt_value | |
| description of the document see SQL DOCUMENT_TYPE.DT_VALUE | |
class for the table document_type , a document_type is a kind of action in the follow up
Definition at line 31 of file document_type.class.php.
| Document_Type::__construct | ( | \Database | $p_cn, |
| int | $dt_id = -1 ) |
constructor document_type
| $p_cn | database connx |
| $dt_id | primary key see SQL DOCUMENT_TYPE.DT_ID |
Definition at line 44 of file document_type.class.php.
| Document_Type::__toString | ( | ) |
Definition at line 118 of file document_type.class.php.
| Document_Type::get | ( | ) |
Get all the data for this dt_id.
Definition at line 54 of file document_type.class.php.
|
static |
| Document_Type::set_number | ( | int | $p_int | ) |
Restart the increment of the document.
| type | $p_int |
Definition at line 106 of file document_type.class.php.
References $e, alert(), and db.
Here is the call graph for this function:
|
static |
unit test for Document_Type
Definition at line 127 of file document_type.class.php.
References $cn, $document_type, $e, $list, $msg, get_list(), and print.
Here is the call graph for this function:| Document_Type::$db |
Database Connection.
Definition at line 34 of file document_type.class.php.
| Document_Type::$dt_id |
primary key see SQL DOCUMENT_TYPE.DT_ID
Definition at line 35 of file document_type.class.php.
Referenced by __construct().
| Document_Type::$dt_prefix |
prefix for numbering see SQL DOCUMENT_TYPE.DT_PREFIX
Definition at line 37 of file document_type.class.php.
| Document_Type::$dt_value |
description of the document see SQL DOCUMENT_TYPE.DT_VALUE
Definition at line 36 of file document_type.class.php.