dolibarr  21.0.0-alpha
Public Member Functions | Static Public Member Functions | List of all members
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. More...
 
 init ($elementEn)
 Init. More...
 
 doActions ()
 Do actions. More...
 
 elementList ($context)
 List for an element in the page context. More...
 

Static Public Member Functions

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

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)

List for an element in the page context.

Parameters
Context$contextContext object
Returns
string Html output

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

◆ 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.

◆ init()

FormListWebPortal::init (   $elementEn)

Init.

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

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


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