Elgg  Version master
Variables
groups.php File Reference

Go to the source code of this file.

Variables

 $options
 
 $target_guid = (int) elgg_extract('match_target', $vars)
 
if($target_guid) else
 
if(!$target instanceof\ElggEntity||!$target->canEdit()) if(elgg_extract('match_owner', $vars, false)) if(elgg_extract('match_membership', $vars, false)) $body = elgg_list_entities($options, 'elgg_search')
 

Variable Documentation

if (!$target instanceof\ElggEntity||!$target->canEdit()) if (elgg_extract('match_owner', $vars, false)) if (elgg_extract('match_membership', $vars, false)) $body = elgg_list_entities($options, 'elgg_search')

Definition at line 41 of file groups.php.

$options
Initial value:
= [
'query' => elgg_extract('term', $vars)
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
$vars
Definition: theme.php:5

Definition at line 7 of file groups.php.

$target_guid = (int) elgg_extract('match_target', $vars)

Definition at line 21 of file groups.php.

if ($target_guid) else
Initial value:
{
$target
Definition: create.php:17
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.
Definition: sessions.php:24

Definition at line 24 of file groups.php.