Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
object
elements
full.php
Go to the documentation of this file.
1
<?php
20
$icon
=
elgg_extract
(
'icon'
,
$vars
);
21
$summary
=
elgg_extract
(
'summary'
,
$vars
);
22
$body
=
elgg_extract
(
'body'
,
$vars
);
23
$class
=
elgg_extract
(
'class'
,
$vars
);
24
if
(
$class
) {
25
$class
=
"elgg-content clearfix $class"
;
26
}
else
{
27
$class
=
"elgg-content clearfix"
;
28
}
29
30
$header
=
elgg_view_image_block
(
$icon
,
$summary
);
31
32
echo
<<<HTML
33
<
div
class
=
"$class"
>
34
$header
35
$body
36
</div>
37
HTML;
$header
$header
Definition:
full.php:30
$body
$body
Definition:
full.php:22
elgg_extract
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1464
div
fieldset div
Definition:
admin.php:462
$summary
$summary
Definition:
full.php:21
elgg_view_image_block
elgg_view_image_block($image, $body, $vars=array())
Wrapper function for the image block display pattern.
Definition:
views.php:1176
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$icon
$icon
Object full rendering.
Definition:
full.php:20
$class
$class
Definition:
full.php:23
$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