if(!$user||!$user->canDelete()) $name
foreach($input_params as $name=> $value) $match_on
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Thrown when page is not accessible.
elgg_set_viewtype(string $viewtype= '')
Manually set the viewtype.
elgg_view_exists(string $view, string $viewtype= '', bool $recurse=true)
Returns whether the specified view exists.