dolibarr 19.0.3
|
Class to manage component html for module website. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
selectWebsite ($selected='', $htmlname='exportmodelid', $useempty=0) | |
Return HTML select list of websites. | |
selectTypeOfContainer ($htmlname, $selected='', $useempty=0, $moreattrib='', $addjscombo=0, $morecss='minwidth200') | |
Return a HTML select list of type of containers from the dictionary. | |
selectSampleOfContainer ($htmlname, $selected='', $useempty=0, $moreattrib='', $addjscombo=0, $morecss='minwidth200') | |
Return a HTML select list of samples of containers content. | |
selectContainer ($website, $htmlname='pageid', $pageid=0, $showempty=0, $action='', $morecss='minwidth200', $excludeids=null) | |
Return a HTML select list of containers of a website. | |
Public Attributes | |
$num | |
var int A number of lines | |
Class to manage component html for module website.
Definition at line 28 of file html.formwebsite.class.php.
FormWebsite::__construct | ( | $db | ) |
Constructor.
Definition at line 48 of file html.formwebsite.class.php.
FormWebsite::selectContainer | ( | $website, | |
$htmlname = 'pageid', | |||
$pageid = 0, | |||
$showempty = 0, | |||
$action = '', | |||
$morecss = 'minwidth200', | |||
$excludeids = null ) |
Return a HTML select list of containers of a website.
Note: $website->lines must have been loaded.
Website | $website | Object Website |
string | $htmlname | Name of select zone |
int | $pageid | Preselected container ID |
int | $showempty | Show empty record |
string | $action | Action on page that use this select list |
string | $morecss | More CSS |
array | $excludeids | Exclude some ID in list |
Definition at line 232 of file html.formwebsite.class.php.
References $num, and ajax_combobox().
FormWebsite::selectSampleOfContainer | ( | $htmlname, | |
$selected = '', | |||
$useempty = 0, | |||
$moreattrib = '', | |||
$addjscombo = 0, | |||
$morecss = 'minwidth200' ) |
Return a HTML select list of samples of containers content.
string | $htmlname | Name of select zone |
string | $selected | Selected value |
int | $useempty | 1=Add an empty value in list |
string | $moreattrib | More attributes on HTML select tag |
int | $addjscombo | Add js combo |
string | $morecss | More css |
Definition at line 171 of file html.formwebsite.class.php.
References ajax_combobox(), and dol_dir_list().
FormWebsite::selectTypeOfContainer | ( | $htmlname, | |
$selected = '', | |||
$useempty = 0, | |||
$moreattrib = '', | |||
$addjscombo = 0, | |||
$morecss = 'minwidth200' ) |
Return a HTML select list of type of containers from the dictionary.
string | $htmlname | Name of select zone |
string | $selected | Selected value |
int | $useempty | 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries. |
string | $moreattrib | More attributes on HTML select tag |
int | $addjscombo | Add js combo |
string | $morecss | More CSS |
Definition at line 110 of file html.formwebsite.class.php.
References $num, ajax_combobox(), dol_print_error(), dol_syslog(), and info_admin().
FormWebsite::selectWebsite | ( | $selected = '', | |
$htmlname = 'exportmodelid', | |||
$useempty = 0 ) |
Return HTML select list of websites.
string | $selected | Id modele pre-selectionne |
string | $htmlname | Name of HTML select |
int | $useempty | Show empty value or not |
Definition at line 62 of file html.formwebsite.class.php.
References $num, and dol_print_error().