Elgg  Version master
search.php
Go to the documentation of this file.
1 <?php
7 $vars['class'] = elgg_extract_class($vars, 'elgg-input-search');
8 
10  'type' => 'search'
11 ];
12 
13 $vars = array_merge($defaults, $vars);
14 
15 echo elgg_view('input/text', $vars);
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:276
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$vars['class']
Elgg search input Displays a search input field.
Definition: search.php:7
$defaults
Definition: search.php:9