core/db_classes/EE_Export.class.php 1 location
|
@@ 468-472 (lines=5) @@
|
465 |
|
} |
466 |
|
|
467 |
|
//make sure each registration has the same questions in the same order |
468 |
|
foreach($questions_for_these_regs_rows as $question_row){ |
469 |
|
if( ! isset($reg_csv_array[$question_row[ 'Question.QST_admin_label']])){ |
470 |
|
$reg_csv_array[$question_row[ 'Question.QST_admin_label' ] ] = null; |
471 |
|
} |
472 |
|
} |
473 |
|
//now fill out the questions THEY answered |
474 |
|
foreach( EEM_Answer::instance()->get_all_wpdb_results( array( array( 'REG_ID' => $reg_row[ 'Registration.REG_ID' ] ), 'force_join' => array( 'Question' ) ) ) as $answer_row){ |
475 |
|
/* @var $answer EE_Answer */ |
core/libraries/batch/JobHandlers/RegistrationsReport.php 1 location
|
@@ 312-316 (lines=5) @@
|
309 |
|
} |
310 |
|
|
311 |
|
//make sure each registration has the same questions in the same order |
312 |
|
foreach($questions_for_these_regs_rows as $question_row){ |
313 |
|
if( ! isset($reg_csv_array[$question_row[ 'Question.QST_admin_label']])){ |
314 |
|
$reg_csv_array[$question_row[ 'Question.QST_admin_label' ] ] = null; |
315 |
|
} |
316 |
|
} |
317 |
|
$answers = \EEM_Answer::instance()->get_all_wpdb_results( |
318 |
|
array( |
319 |
|
array( 'REG_ID' => $reg_row[ 'Registration.REG_ID' ] ), |