Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
rss
group
default.php
Go to the documentation of this file.
1
<?php
9
$permalink
= htmlspecialchars(
$vars
[
'entity'
]->getURL(), ENT_NOQUOTES,
'UTF-8'
);
10
$pubdate
= date(
'r'
,
$vars
[
'entity'
]->getTimeCreated());
11
$title
= htmlspecialchars(
$vars
[
'entity'
]->name, ENT_NOQUOTES,
'UTF-8'
);
12
13
if
(
$vars
[
'entity'
]->
description
) {
14
$description
=
elgg_autop
(
$vars
[
'entity'
]->
description
);
15
} elseif (
$vars
[
'entity'
]->briefdescription) {
16
$description
=
elgg_autop
(
$vars
[
'entity'
]->briefdescription);
17
}
else
{
18
$description
=
''
;
19
}
20
21
$creator
=
elgg_view
(
'page/components/creator'
,
$vars
);
22
$georss
=
elgg_view
(
'page/components/georss'
,
$vars
);
23
$extension
=
elgg_view
(
'extensions/item'
,
$vars
);
24
25
$item
= <<<__HTML
26
<
item
>
27
<guid isPermaLink=
"true"
>
$permalink
</guid>
28
<pubDate>
$pubdate
</pubDate>
29
<link>
$permalink
</link>
30
<
title
><![CDATA[
$title
]]></
title
>
31
<
description
><![CDATA[
$description
]]></
description
>
32
$creator
$georss
$extension
33
</
item
>
34
35
__HTML;
36
37
echo
$item
;
title
ui datepicker title
Definition:
admin.php:592
$description
$description
Definition:
default.php:18
description
$comment description
Definition:
save.php:49
$permalink
$permalink
Definition:
default.php:9
$creator
$creator
Definition:
default.php:21
elgg_autop
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition:
output.php:56
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$item
$item
Definition:
default.php:25
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:23
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$georss
$georss
Definition:
default.php:22
item
elgg item
Definition:
admin.php:429
$title
$title
Definition:
default.php:32
$pubdate
$pubdate
Definition:
default.php:10
$extension
$extension
Definition:
default.php:23
Generated on Wed Dec 4 2024 00:00:34 for Elgg by
1.8.11