root/devel/mod/profile/lib/function_view.php
| Revision 1301, 420 bytes (checked in by dramirez, 1 year ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // Cycle through all defined profile detail fields and display them |
| 4 | |
| 5 | if (!empty($data['profile:details']) && sizeof($data['profile:details']) > 0) { |
| 6 | |
| 7 | global $profile_id; |
| 8 | if ($allvalues = get_records('profile_data','owner',$profile_id)) { |
| 9 | foreach($data['profile:details'] as $field) { |
| 10 | $run_result .= run("profile:field:display",array($field, $allvalues)); |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | } |
| 15 | |
| 16 | ?> |
Note: See TracBrowser for help on using the browser.
