Elgg  Version master
friendspicker.php
Go to the documentation of this file.
1 <?php
8 if (!isset($vars['name'])) {
9  $vars['name'] = 'friend';
10 }
11 
12 $vars['only_friends'] = true;
13 
14 echo elgg_view('input/userpicker', $vars);
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
if(!isset($vars['name'])) $vars['only_friends']
Elgg friends picker.