class FormEcm (View source)

Class to manage HTML component for ECM and generic filemanager

Properties

DoliDB $db
string $error

Methods

__construct($db)

Constructor

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

Return list of sections

Details

__construct($db)

Constructor

@param  DoliDB  $db     Database handler

Parameters

$db

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

Return list of sections

@param int $selected Id of preselected section

Parameters

$selected
string $select_name

Name of HTML select component @param string $module Module ('ecm', 'medias', ...) @param int[] $ids_to_ignore Array of id to ignore @return string String with HTML select

$module
$ids_to_ignore