|
dolibarr 20.0.5
|
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 225 of file html.formlistwebportal.class.php.
References GETPOST().
| FormListWebPortal::elementList | ( | $context | ) |
List for an element in the page context.
Definition at line 255 of file html.formlistwebportal.class.php.
References dol_escape_htmltag(), dol_mktime(), dol_print_error(), dol_sanitizeFileName(), getDolGlobalInt(), getEntity(), GETPOSTINT(), natural_search(), price2num(), Facture\STATUS_CLOSED, 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 770 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(), GETPOST(), and GETPOSTINT().