| @@ 330-337 (lines=8) @@ | ||
| 327 | } |
|
| 328 | } |
|
| 329 | ||
| 330 | if ($export_user_fields) { |
|
| 331 | //show user fields data, if any, for this user |
|
| 332 | $user_fields_values = UserManager::get_extra_user_data($row['user_id'],false,false, false, true); |
|
| 333 | foreach($user_fields_values as $value) { |
|
| 334 | $worksheet->setCellValueByColumnAndRow($column, $line, api_html_entity_decode(strip_tags($value), ENT_QUOTES, $charset)); |
|
| 335 | $column++; |
|
| 336 | } |
|
| 337 | } |
|
| 338 | ||
| 339 | $worksheet->setCellValueByColumnAndRow($column, $line, api_html_entity_decode(strip_tags($row['title']), ENT_QUOTES, $charset)); |
|
| 340 | $column++; |
|
| @@ 622-629 (lines=8) @@ | ||
| 619 | ); |
|
| 620 | $column++; |
|
| 621 | ||
| 622 | if ($export_user_fields) { |
|
| 623 | //show user fields data, if any, for this user |
|
| 624 | $user_fields_values = UserManager::get_extra_user_data( |
|
| 625 | $row['user_id'], |
|
| 626 | false, |
|
| 627 | false, |
|
| 628 | false, |
|
| 629 | true |
|
| 630 | ); |
|
| 631 | foreach ($user_fields_values as $value) { |
|
| 632 | $worksheet->setCellValueByColumnAndRow( |
|