FormSocialContrib
class FormSocialContrib (View source)
Class to manage generation of HTML components for social contributions management
Properties
| DoliDB | $db | ||
| string | $error |
Methods
select_type_socialcontrib(int $selected = 0, string $htmlname = 'actioncode', $useempty = 0, $maxlen = 40, $help = 1, $morecss = 'minwidth300', $noerrorifempty = 0)
Return list of social contributions.
Details
__construct(DoliDB $db)
Constructor
select_type_socialcontrib(int $selected = 0, string $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.