|
dolibarr
x.y.z
|
Class to manage generation of HTML components for social contributions management. More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. More... | |
| select_type_socialcontrib ($selected='', $htmlname='actioncode', $useempty=0, $maxlen=40, $help=1, $morecss='minwidth300', $noerrorifempty=0) | |
| Return list of social contributions. More... | |
Class to manage generation of HTML components for social contributions management.
Definition at line 28 of file html.formsocialcontrib.class.php.
| FormSocialContrib::__construct | ( | $db | ) |
| FormSocialContrib::select_type_socialcontrib | ( | $selected = '', |
|
$htmlname = 'actioncode', |
|||
$useempty = 0, |
|||
$maxlen = 40, |
|||
$help = 1, |
|||
$morecss = 'minwidth300', |
|||
$noerrorifempty = 0 |
|||
| ) |
Return list of social contributions.
Use mysoc->country_id or mysoc->country_code so they must be defined.
| string | $selected | Preselected type |
| string | $htmlname | Name of field in form |
| int | $useempty | Set to 1 if we want an empty value |
| int | $maxlen | Max length of text in combo box |
| int | $help | Add or not the admin help picto |
| string | $morecss | Add more CSS on select |
| int | $noerrorifempty | No print error if list is empty for the country |
Definition at line 65 of file html.formsocialcontrib.class.php.