Code documentation

This commit is contained in:
sparkyx 2025-06-19 12:39:31 +02:00
parent ef121ea629
commit 871df2a9de
2 changed files with 6 additions and 2 deletions

View file

@ -345,7 +345,7 @@ class Acc_Account_Ledger
/*!
* \brief give the balance of an account
*
* \param $p_cond (text) a SQL Condition,
* \return
* balance of the account
*

View file

@ -33,12 +33,16 @@
*/
class Document_Type
{
var $db; //!< Database conx
var $dt_id; //!< $dt_id (int) primary key of DOCUMENT_TYPE
var $dt_value; //!< $dt_value (text) description of document type
var $dt_prefix; //!< $dt_prefix (text) prefix to use for this
/** document_type
* \brief constructor
* \param $p_cn database connx
*/
function __construct($p_cn, $p_id = -1)
function __construct(Database $p_cn, $p_id = -1)
{
$this->db = $p_cn;
$this->dt_id = $p_id;