dolibarr 21.0.0-beta
|
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. | |
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.
FormListWebPortal::__construct | ( | $db | ) |
Constructor.
Definition at line 116 of file html.formlistwebportal.class.php.
FormListWebPortal::doActions | ( | ) |
Do actions.
Definition at line 227 of file html.formlistwebportal.class.php.
References GETPOST().
FormListWebPortal::elementList | ( | $context | ) |
List for an element in the page context.
Definition at line 257 of file html.formlistwebportal.class.php.
References $conf, $context, dol_escape_htmltag(), dol_mktime(), dol_print_error(), dol_sanitizeFileName(), getDolGlobalInt(), getDolGlobalString(), getEntity(), GETPOSTINT(), natural_search(), price2num(), Facture\STATUS_CLOSED, Propal\STATUS_VALIDATED, and Facture\TYPE_CREDIT_NOTE.
|
static |
Generate with pagination navigaion.
string | $url | Url of current page |
int | $nbPages | Total of pages results |
int | $currentPage | Number of current page |
Definition at line 804 of file html.formlistwebportal.class.php.
References dol_escape_htmltag().
FormListWebPortal::init | ( | $elementEn | ) |
Init.
string | $elementEn | Element (english) : "propal", "order", "invoice" |
Definition at line 128 of file html.formlistwebportal.class.php.
References dol_eval(), dol_include_once(), dol_sort_array(), getDolGlobalString(), GETPOST(), and GETPOSTINT().