dolibarr  19.0.0-dev
Public Member Functions | List of all members
ModeleNumRefChequeReceipts Class Reference

Cheque Receipts numbering references mother class. More...

Inheritance diagram for ModeleNumRefChequeReceipts:
Inheritance graph
[legend]

Public Member Functions

 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Return the default description of numbering module. More...
 
 getExample ()
 Return numbering example. More...
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More...
 
 getNextValue ($objsoc, $object)
 Returns the next value. More...
 
 getVersion ()
 Returns the module numbering version. More...
 

Detailed Description

Cheque Receipts numbering references mother class.

Definition at line 37 of file modules_chequereceipts.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefChequeReceipts::canBeActivated ( )

Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.

Returns
boolean false if conflict, true if ok

Reimplemented in mod_chequereceipt_mint.

Definition at line 84 of file modules_chequereceipts.php.

◆ getExample()

ModeleNumRefChequeReceipts::getExample ( )

Return numbering example.

Returns
string Example

Reimplemented in mod_chequereceipt_thyme, and mod_chequereceipt_mint.

Definition at line 71 of file modules_chequereceipts.php.

◆ getNextValue()

ModeleNumRefChequeReceipts::getNextValue (   $objsoc,
  $object 
)

Returns the next value.

Parameters
Societe$objsocObject thirdparty
Object$objectObject we need next value for
Returns
string Valeur

Reimplemented in mod_chequereceipt_thyme, and mod_chequereceipt_mint.

Definition at line 96 of file modules_chequereceipts.php.

◆ getVersion()

ModeleNumRefChequeReceipts::getVersion ( )

Returns the module numbering version.

Returns
string Value

Definition at line 107 of file modules_chequereceipts.php.

◆ info()

ModeleNumRefChequeReceipts::info ( )

Return the default description of numbering module.

Returns
string Descriptive text

Reimplemented in mod_chequereceipt_thyme, and mod_chequereceipt_mint.

Definition at line 59 of file modules_chequereceipts.php.

◆ isEnabled()

ModeleNumRefChequeReceipts::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 49 of file modules_chequereceipts.php.


The documentation for this class was generated from the following file: