duplicate test
This commit is contained in:
@@ -237,6 +237,26 @@ class ResultFormatter extends Model
|
||||
);
|
||||
}
|
||||
break;
|
||||
case WRENCHBOARD_FAMILY_RELINVITE:
|
||||
$total = $out["total_record"];
|
||||
$res = array(
|
||||
"status" => $out["status"],
|
||||
"total_record" => ($total),
|
||||
"internal_return" => $out["internal_return"],
|
||||
"result_list" => array(),
|
||||
);
|
||||
for ($i = 0; $i < $total; $i++) {
|
||||
$key = sprintf("%05d", $i);
|
||||
$res["result_list"][] = array(
|
||||
"uid" => $out["uid_${key}"],
|
||||
"lastname" => $out["lastname_${key}"],
|
||||
"email" => $out["email_${key}"],
|
||||
"family_type" => $out["family_type_${key}"],
|
||||
"status" => $out["status_${key}"],
|
||||
"firstname" => $out["firstname_${key}"],
|
||||
);
|
||||
}
|
||||
break;
|
||||
case WRENCHBOARD_FAMILY_SGGESTLIST:
|
||||
case WRENCHBOARD_FAMILY_SGGESTWAITING:
|
||||
$total = $out["total_record"];
|
||||
|
||||
Reference in New Issue
Block a user