Elgg  Version 1.11
profileupdate.php
Go to the documentation of this file.
1 <?php
6 $item = $vars['item'];
7 /* @var ElggRiverItem $item */
8 
9 $subject = $item->getSubjectEntity();
10 
11 $subject_link = elgg_view('output/url', array(
12  'href' => $subject->getURL(),
13  'text' => $subject->name,
14  'class' => 'elgg-river-subject',
15  'is_trusted' => true,
16 ));
17 
18 $string = elgg_echo('river:update:user:profile', array($subject_link));
19 
20 echo elgg_view('river/elements/layout', array(
21  'item' => $item,
22  'summary' => $string,
23 ));
$string
$subject
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$item
Update profile river view.
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$subject_link
if(file_exists($welcome)) $vars
Definition: upgrade.php:93