dolibarr 21.0.0-alpha
FormListWebPortal Class Reference

Class to manage generation of HTML components Only common components for WebPortal must be here. More...

Public Member Functions

 __construct ($db)
 Constructor.
 
 init ($elementEn)
 Init.
 
 doActions ()
 Do actions.
 
 elementList ($context)
 List for an element in the page context.
 

Static Public Member Functions

static generatePageListNav (string $url, int $nbPages, int $currentPage)
 Generate with pagination navigaion.
 

Detailed Description

Class to manage generation of HTML components Only common components for WebPortal must be here.

Definition at line 38 of file html.formlistwebportal.class.php.

Constructor & Destructor Documentation

◆ __construct()

FormListWebPortal::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 116 of file html.formlistwebportal.class.php.

Member Function Documentation

◆ doActions()

FormListWebPortal::doActions ( )

Do actions.

Returns
void

Definition at line 220 of file html.formlistwebportal.class.php.

References GETPOST().

◆ elementList()

FormListWebPortal::elementList ( $context)

◆ generatePageListNav()

static FormListWebPortal::generatePageListNav ( string $url,
int $nbPages,
int $currentPage )
static

Generate with pagination navigaion.

Parameters
string$urlUrl of current page
int$nbPagesTotal of pages results
int$currentPageNumber of current page
Returns
string

Definition at line 786 of file html.formlistwebportal.class.php.

References dol_escape_htmltag().

◆ init()

FormListWebPortal::init ( $elementEn)

Init.

Parameters
string$elementEnElement (english) : "propal", "order", "invoice"
Returns
void

Definition at line 128 of file html.formlistwebportal.class.php.

References dol_eval(), dol_include_once(), dol_mktime(), dol_sort_array(), getDolGlobalString(), GETPOST(), and GETPOSTINT().


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