|
Elgg
Version 7.1
|
Go to the source code of this file.
Variables | |
| $entity_guid = (int) get_input('entity_guid') | |
| $entity | |
| if(! $entity instanceof \ElggEntity) | if (! $entity->canEdit()) |
| $footer | |
| $actor = elgg_get_logged_in_user_entity() | |
| $owner = $entity->getOwnerEntity() | |
| if(! $owner instanceof \ElggUser && $actor->getGroups(['count'=> true])) elseif($owner instanceof \ElggUser && $owner->getGroups(['count'=> true])) elseif($owner?->canWriteToContainer($owner->guid, $entity->type, $entity->subtype)) | else |
| $actor = elgg_get_logged_in_user_entity() |
Definition at line 35 of file chooserestoredestination.php.
| $entity |
Definition at line 12 of file chooserestoredestination.php.
| $entity_guid = (int) get_input('entity_guid') |
Definition at line 11 of file chooserestoredestination.php.
| $footer |
Definition at line 29 of file chooserestoredestination.php.
| $owner = $entity->getOwnerEntity() |
Definition at line 36 of file chooserestoredestination.php.
| if (! $owner instanceof \ElggUser &&$actor->getGroups([ 'count'=> true])) elseif ( $owner instanceof \ElggUser &&$owner->getGroups([ 'count'=> true])) elseif ( $owner?->canWriteToContainer( $owner->guid, $entity->type, $entity->subtype)) else |
Definition at line 100 of file chooserestoredestination.php.
| if (! $entity instanceof \ElggEntity) if(! $entity->canEdit()) | ( | ! $entity-> | canEdit() | ) |
Definition at line 19 of file chooserestoredestination.php.