Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
object
plugin.php
Go to the documentation of this file.
1
<?php
10
$plugin
=
$vars
[
'entity'
];
11
12
if
(!
elgg_in_context
(
'admin'
)) {
13
echo
elgg_view
(
'object/default'
,
$vars
);
14
}
else
{
15
if
(!
$plugin
->isValid()) {
16
echo
elgg_view
(
'object/plugin/invalid'
,
$vars
);
17
}
else
{
18
echo
elgg_view
(
'object/plugin/full'
,
$vars
);
19
}
20
}
elgg_in_context
elgg_in_context($context)
Check if this context exists anywhere in the stack.
Definition:
pageowner.php:273
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$plugin
$plugin
Definition:
plugin.php:10
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11