dolibarr 21.0.0-alpha
ModeleNumRefMembers Class Reference

Class mere des modeles de numerotation des references de members. More...

Inheritance diagram for ModeleNumRefMembers:
Collaboration diagram for ModeleNumRefMembers:

Public Member Functions

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

Detailed Description

Class mere des modeles de numerotation des references de members.

Definition at line 82 of file modules_member.class.php.

Member Function Documentation

◆ getExample()

ModeleNumRefMembers::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_member_advanced, and mod_member_simple.

◆ getNextValue()

ModeleNumRefMembers::getNextValue ( $objsoc,
$object )

Return next value.

Parameters
?Societe$objsocObject third party
?Adherent$objectObject we need next value for
Returns
string|int<-1,0> next value

Reimplemented in mod_member_advanced, and mod_member_simple.

Definition at line 135 of file modules_member.class.php.

Referenced by getToolTip().

◆ getToolTip()

ModeleNumRefMembers::getToolTip ( $langs,
$soc )

Return description of module parameters.

Parameters
Translate$langsOutput language
?Societe$socThird party object
Returns
string HTML translated description

Definition at line 91 of file modules_member.class.php.

References getDolGlobalString(), CommonNumRefGenerator\getName(), getNextValue(), CommonNumRefGenerator\getVersion(), and yn().


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