Elgg
Version 2.3
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
}
$vars
$vars['entity']
Definition:
plugin_settings.php:15
elgg_in_context
elgg_in_context($context)
Check if this context exists anywhere in the stack.
Definition:
pageowner.php:241
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
$plugin
$plugin
Definition:
plugin.php:10
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11