Elgg
Version master
views
default
trash
listing
group.php
Go to the documentation of this file.
1
<?php
9
$options
= (array)
elgg_extract
(
'options'
,
$vars
);
10
$entity
=
elgg_extract
(
'entity'
,
$vars
);
11
if
(!
$entity
instanceof \
ElggGroup
) {
12
return
;
13
}
14
15
$owner_options
= [
16
'container_guid'
=>
$entity
->guid,
17
'preload_containers'
=>
false
,
18
];
19
20
$vars
[
'options'
] = array_merge(
$options
,
$owner_options
);
21
22
echo
elgg_view
(
'trash/listing/all'
,
$vars
);
ElggGroup
Definition:
ElggGroup.php:14
elgg_extract
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:256
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition:
views.php:156
$options
$options
List all the deleted entities in the given group.
Definition:
group.php:9
$vars
$vars['options']
Definition:
group.php:20
$entity
$entity
Definition:
group.php:10
$owner_options
if(! $entity instanceof \ElggGroup) $owner_options
Definition:
group.php:15
Generated on Fri Aug 29 2025 00:01:59 for Elgg by
1.9.1