42 $this->views = $views;
43 $this->logger = $logger;
88 $form_vars[
'class'][] =
'elgg-form-' . preg_replace(
'/[^a-z0-9]/i',
'-',
$action);
95 $this->rendering =
true;
103 $body .= $this->views->renderView(
'elements/forms/footer', [
104 'footer' => $this->getFooter(),
109 $this->rendering =
false;
128 if (!$this->rendering) {
129 $this->logger->error(
'Form footer can only be set and retrieved during form rendering, ' 130 .
'anywhere in elgg_view_form() call stack (e.g. form view, extending views, or view hooks)');
143 if (!$this->rendering) {
144 $this->logger->error(
'Form footer can only be set and retrieved during form rendering, ' 145 .
'anywhere in elgg_view_form() call stack (e.g. form view, extending views, or view hooks)');
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
clearfix elgg elgg elgg elgg page elgg page footer