|
Elgg
Version 7.1
|
Go to the source code of this file.
Variables | |
| $entity = elgg_extract('entity', $vars) | |
| ElggUpgrade view. More... | |
| if(! $entity instanceof \ElggUpgrade) | $component = $entity->getComponent() |
| $version = $entity->getVersion() | |
| $description = elgg_echo("{$component}:upgrade:{$version}:description") | |
| $plugin = $component !== 'core' ? elgg_get_plugin_from_id($component) : null | |
| $vars ['title'] = ($plugin instanceof \ElggPlugin ? $plugin->getDisplayName() . ': ' : '') . $entity->getDisplayName() | |
| if(! $entity->isCompleted()) | $vars ['content'] = $description |
| if (! $entity instanceof \ElggUpgrade) $component = $entity->getComponent() |
Definition at line 11 of file elgg_upgrade.php.
| $description = elgg_echo("{$component}:upgrade:{$version}:description") |
Definition at line 14 of file elgg_upgrade.php.
| $entity = elgg_extract('entity', $vars) |
ElggUpgrade view.
Definition at line 6 of file elgg_upgrade.php.
| $plugin = $component !== 'core' ? elgg_get_plugin_from_id($component) : null |
Definition at line 16 of file elgg_upgrade.php.
| if (! $entity->isCompleted()) $vars[ 'content'] = $description |
Definition at line 27 of file elgg_upgrade.php.
| $vars[ 'title'] = ($plugin instanceof \ElggPlugin ? $plugin->getDisplayName() . ': ' : '') . $entity->getDisplayName() |
Definition at line 18 of file elgg_upgrade.php.
| $version = $entity->getVersion() |
Definition at line 12 of file elgg_upgrade.php.