abstract class NumModel (View source)

NumModel class

Properties

$error

Methods

boolean
isEnabled()

Return if a model can be used or not

string
info()

Return the default description of the numbering model

string
getExample()

Return an example of numbering

boolean
canBeActivated()

Check if the numbers already existing in the database doesn't have conflicts with this numbering model

string
getNextValue()

Return next numbering value

string
getVersion()

Return numbering model version

Details

boolean isEnabled()

Return if a model can be used or not

Return Value

boolean true if model can be used

string info()

Return the default description of the numbering model

Return Value

string Text description

string getExample()

Return an example of numbering

Return Value

string Example

boolean canBeActivated()

Check if the numbers already existing in the database doesn't have conflicts with this numbering model

Return Value

boolean false if conflict, true if ok

string getNextValue()

Return next numbering value

Return Value

string value

string getVersion()

Return numbering model version

Return Value

string value