Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
river
relationship
friend
create.php
Go to the documentation of this file.
1
<?php
5
$item
=
$vars
[
'item'
];
6
/* @var ElggRiverItem $item */
7
8
$subject
=
$item
->getSubjectEntity();
9
$object
=
$item
->getObjectEntity();
10
11
$subject_icon
=
elgg_view_entity_icon
(
$subject
,
'tiny'
);
12
$object_icon
=
elgg_view_entity_icon
(
$object
,
'tiny'
);
13
14
echo
elgg_view
(
'river/elements/layout'
, array(
15
'item'
=>
$item
,
16
'attachments'
=>
$subject_icon
.
elgg_view_icon
(
'arrow-right'
) .
$object_icon
,
17
18
// truthy value to bypass responses rendering
19
'responses'
=>
' '
,
20
));
$item
$item
Post comment river view.
Definition:
create.php:6
elgg_view_icon
elgg_view_icon($name, $vars=array())
View one of the icons.
Definition:
views.php:1582
$object
$object
Definition:
create.php:9
$vars
$vars['entity']
Definition:
plugin_settings.php:15
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
$subject_icon
$subject_icon
Definition:
create.php:11
elgg_view_entity_icon
elgg_view_entity_icon(\ElggEntity $entity, $size= 'medium', $vars=array())
View the icon of an entity.
Definition:
views.php:936
$subject
$subject
Definition:
create.php:10
$object_icon
$object_icon
Definition:
create.php:12
Generated on Fri Oct 11 2024 00:01:08 for Elgg by
1.8.11