* @github Joomla Members Manager * @copyright Copyright (C) 2015. All Rights Reserved * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */ // No direct access to this file defined('JPATH_BASE') or die('Restricted access'); // get all the info Components $infoAvailable = MembersmanagerHelper::getInfoAvaillable($displayData->type, $displayData->account, false); $setInfo = MembersmanagerHelper::checkArray($infoAvailable); // get names and values if found if ($setInfo) { // get the info names $infoNames = MembersmanagerHelper::getTypeInfosNames($displayData->type, $displayData->account, 'array'); // get info details $infoDetails = array(); foreach ($infoAvailable as $_nr => $info) { $infoDetails[$_nr] = MembersmanagerHelper::getAnyFormDetails($displayData->id, 'member', $info->element, 'array', 'profile'); } } // get DB $db = JFactory::getDBO(); // set relationships to false $relationships = false; // get the types of relationships available to this member if (($relationshipTypes = MembersmanagerHelper::getRelationshipsByTypes($displayData->type, $db, false, true, false)) !== false) { // load relationships $relationships = MembersmanagerHelper::getRelationshipsByMember($displayData->id, $db, 'member'); } ?>