13 if (is_array(
$vars[
'collection']->members)) {
23 echo "<div class=\"friends_collections_controls\">";
25 'href' =>
'action/friends/collections/delete?collection=' .
$coll->id,
26 'class' =>
'delete_collection',
28 'encode_text' =>
false,
34 echo " (<span id=\"friends_membership_count{$vars['friendspicker']}\">{$count}</span>) </h2>";
41 'collection' =>
$vars[
'collection'],
42 'friendspicker' =>
$vars[
'friendspicker'],
47 'value' =>
$vars[
'collection']->members,
50 'friendspicker' =>
$vars[
'friendspicker'],
56 var
url =
elgg.config.wwwroot +
'collections/pickercallback' +
57 '?username=<?php echo elgg_get_logged_in_user_entity()->username; ?>' +
58 '&type=list&collection=<?php echo $vars['collection
']->id; ?>';
59 $(
'#friends-picker_placeholder<?php echo $vars['friendspicker
']; ?>').load(url);
elgg_view_icon($name, $vars=array())
View one of the icons.
elgg echo
Translates a string.
elgg require
Throw an error if the required package isn't present.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
$content
Set robots.txt action.
if(!$site) if(!($site instanceof ElggSite)) $site url
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.