dolibarr 18.0.6
mod_member_advanced Class Reference

Class to manage the numbering module Advanced for member references. More...

Inheritance diagram for mod_member_advanced:
Collaboration diagram for mod_member_advanced:

Public Member Functions

 info ()
 Return description of numbering module.
 
 getExample ()
 Return an example of numbering module values.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc, $object)
 Return next value.
 
- Public Member Functions inherited from ModeleNumRefMembers
 isEnabled ()
 Return if a module can be used or not.
 
 getName ()
 Return name of module.
 
 getVersion ()
 Renvoi version du module numerotation.
 
 getToolTip ($langs, $soc)
 Return description of module parameters.
 

Detailed Description

Class to manage the numbering module Advanced for member references.

Definition at line 32 of file mod_member_advanced.php.

Member Function Documentation

◆ canBeActivated()

mod_member_advanced::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 from ModeleNumRefMembers.

Definition at line 91 of file mod_member_advanced.php.

◆ getExample()

mod_member_advanced::getExample ( )

Return an example of numbering module values.

Returns
string Example

Reimplemented from ModeleNumRefMembers.

Definition at line 79 of file mod_member_advanced.php.

◆ getNextValue()

mod_member_advanced::getNextValue ( $objsoc,
$object )

Return next value.

Parameters
Societe$objsocObject third party
Adherent$objectObject we need next value for
Returns
string Value if OK, 0 if KO

Reimplemented from ModeleNumRefMembers.

Definition at line 128 of file mod_member_advanced.php.

References dol_now(), dol_print_date(), and dol_syslog().

◆ info()

mod_member_advanced::info ( )

Return description of numbering module.

Returns
string Text with description

Reimplemented from ModeleNumRefMembers.

Definition at line 67 of file mod_member_advanced.php.


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