Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
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
);
$options
$options
List all the deleted entities in the given group.
Definition:
group.php:9
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:254
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
ElggGroup
Definition:
ElggGroup.php:14
$entity
$entity
Definition:
group.php:10
$owner_options
if(!$entity instanceof\ElggGroup) $owner_options
Definition:
group.php:15
$vars
if(!$entity instanceof\ElggGroup) $vars['options']
Definition:
group.php:20
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11