Elgg
Version 2.3
|
WARNING: API IN FLUX. More...
Public Member Functions | |
__construct (ViewsService $views, Logger $logger) | |
Constructor. More... | |
render ($action, $form_vars=array(), $body_vars=array()) | |
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... | |
WARNING: API IN FLUX.
DO NOT USE DIRECTLY.
Use the elgg_* versions instead.
private
Definition at line 13 of file FormsService.php.
Elgg\FormsService::__construct | ( | ViewsService | $views, |
Logger | $logger | ||
) |
Constructor.
ViewsService | $views | Views service |
Logger | $logger | Logger service |
Definition at line 41 of file FormsService.php.
Elgg\FormsService::getFooter | ( | ) |
Returns currently set footer, or false if not in the form rendering stack.
Definition at line 142 of file FormsService.php.
Elgg\FormsService::render | ( | $action, | |
$form_vars = array() , |
|||
$body_vars = array() |
|||
) |
Definition at line 80 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 126 of file FormsService.php.