Elgg  Version 3.0
Variables
livesearch.php File Reference

Go to the source code of this file.

Variables

 $request = elgg_extract('request', $vars)
 Page handler for autocomplete endpoint. More...
 
 $input_params = $request->getParams()
 
 $ignored_inputs = ['view', '_route']
 
foreach($input_params as $name=> $value$match_on = elgg_extract('match_on', $vars)
 
 if (!elgg_view_exists("resources/livesearch/$match_on"))
 

Variable Documentation

$ignored_inputs = ['view', '_route']

Definition at line 13 of file livesearch.php.

$input_params = $request->getParams()

Definition at line 12 of file livesearch.php.

foreach ($input_params as $name=> $value) $match_on = elgg_extract('match_on', $vars)

Definition at line 27 of file livesearch.php.

$request = elgg_extract('request', $vars)

Page handler for autocomplete endpoint.

/livesearch/<match_on>?q=<query>

Definition at line 9 of file livesearch.php.

if(!elgg_view_exists("resources/livesearch/$match_on"))

Definition at line 32 of file livesearch.php.