* @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 assessment Components $displayData->assessmentAvailable = MembersmanagerHelper::getAssessmentAvaillable($displayData->type, $displayData->account); $displayData->setAssessment = MembersmanagerHelper::checkArray($displayData->assessmentAvailable); // get names and values if found if ($displayData->setAssessment) { // get assessment details $displayData->assessments = array(); foreach ($displayData->assessmentAvailable as $_name => $assessment) { if (MembersmanagerHelper::checkArray($assessment)) { $displayData->assessments[$_name] = array(); foreach ($assessment as $_nr => $assess) { $displayData->assessments[$_name][$_nr] = MembersmanagerHelper::getAnyFormDetails($displayData->id, 'member', $assess->element, 'object', 'profile'); if (MembersmanagerHelper::checkArray($displayData->assessments[$_name][$_nr])) { foreach ($displayData->assessments[$_name][$_nr] as $_pointer => &$value) { $value->name = $assess->name; } } elseif (MembersmanagerHelper::checkObject($displayData->assessments[$_name][$_nr])) { $displayData->assessments[$_name][$_nr]->name = $assess->name; } } } elseif (MembersmanagerHelper::checkObject($assessment) && isset($assessment->element)) { $displayData->assessments[$_name] = MembersmanagerHelper::getAnyFormDetails($displayData->id, 'member', $assessment->element, 'object', 'profile'); if (MembersmanagerHelper::checkObject($displayData->assessments[$_name])) { $displayData->assessments[$_name]->name = $assessment->name; } } } } ?> setAssessment) : ?> type_name) && $displayData->_USER->authorise('member.view.type', 'com_membersmanager.member.' . (int) $displayData->id)) : ?>
type_name, 'W'), implode(', ', (array) array_keys($displayData->assessmentAvailable))); ?>
assessmentAvailable))); ?>


    assessmentAvailable as $typeAssesmentName => $components) : ?>
  • name; ?>
  • id, 'member', 'id', '=', str_replace("com_", "", $components->element))) !== false): ?> return_path, $components->element)) !== false): ?>
  • name; ?>
  • name; ?>
.