dolibarr 18.0.6
FormEcm Class Reference

Class to manage HTML component for ECM and generic filemanager. More...

Public Member Functions

 __construct ($db)
 Constructor.
 
 selectAllSections ($selected=0, $select_name='', $module='ecm', $ids_to_ignore=array())
 Return list of sections.
 

Detailed Description

Class to manage HTML component for ECM and generic filemanager.

Definition at line 28 of file htmlecm.form.class.php.

Constructor & Destructor Documentation

◆ __construct()

FormEcm::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 46 of file htmlecm.form.class.php.

Member Function Documentation

◆ selectAllSections()

FormEcm::selectAllSections ( $selected = 0,
$select_name = '',
$module = 'ecm',
$ids_to_ignore = array() )

Return list of sections.

Parameters
int$selectedId of preselected section
string$select_nameName of HTML select component
string$moduleModule ('ecm', 'medias', ...)
array$ids_to_ignoreArray of id to ignore
Returns
string String with HTML select

Definition at line 61 of file htmlecm.form.class.php.

References ajax_combobox(), dol_dir_list(), and dol_escape_htmltag().


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