/**
  * Profile block with groups user joied
  * @param $iProfileId profile id 
  * @return html to display on homepage in a block
  */
 function serviceProfileBlockJoined($iProfileId)
 {
     $iProfileId = (int) $iProfileId;
     $aProfile = getProfileInfo($iProfileId);
     bx_import('PageMain', $this->_aModule);
     $o = new BxGroupsPageMain($this);
     $o->sUrlStart = getProfileLink($aProfile['ID']) . '?';
     return $o->ajaxBrowse('joined', $this->_oDb->getParam('bx_groups_perpage_profile'), array(), process_db_input($aProfile['NickName'], BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION), true, false);
 }
Exemple #2
0
 /**
  * Profile block with groups user joined
  * @param $iProfileId profile id
  * @return html to display on homepage in a block
  */
 function serviceProfileBlockJoined($iProfileId)
 {
     $iProfileId = (int) $iProfileId;
     $aProfile = getProfileInfo($iProfileId);
     bx_import('PageMain', $this->_aModule);
     $o = new BxGroupsPageMain($this);
     $o->sUrlStart = $_SERVER['PHP_SELF'] . '?' . bx_encode_url_params($_GET, array('page'));
     return $o->ajaxBrowse('joined', $this->_oDb->getParam('bx_groups_perpage_profile'), array(), process_db_input($aProfile['NickName'], BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION), true, false);
 }