Elgg
Version 4.3
|
Public Member Functions | |
__construct (ViewsService $views) | |
Constructor. More... | |
render ($action, $form_vars=[], $body_vars=[]) | |
setFooter ($footer= '') | |
Sets form footer and defers its rendering until the form view and extensions have been rendered. More... | |
getFooter () | |
Returns currently set footer, or false if not in the form rendering stack. More... | |
Forms service.
Definition at line 13 of file FormsService.php.
Elgg\FormsService::__construct | ( | ViewsService | $views | ) |
Constructor.
ViewsService | $views | Views service |
Definition at line 37 of file FormsService.php.
Elgg\FormsService::getFooter | ( | ) |
Returns currently set footer, or false if not in the form rendering stack.
Definition at line 156 of file FormsService.php.
Elgg\FormsService::render | ( | $action, | |
$form_vars = [] , |
|||
$body_vars = [] |
|||
) |
Definition at line 76 of file FormsService.php.
Elgg\FormsService::setFooter | ( | $footer = '' | ) |
Sets form footer and defers its rendering until the form view and extensions have been rendered.
Deferring footer rendering allows plugins to extend the form view while maintaining logical DOM structure. Footer will be rendered using 'elements/forms/footer' view after form body has finished rendering
string | $footer | Footer |
Definition at line 139 of file FormsService.php.