'; return $form_task; } public function make_serialized_task_params() { global $pnb_do_full_sync, $pnb_check_only_ended_loans; if(empty($pnb_do_full_sync)) { $pnb_do_full_sync = 0; } $pnb_do_full_sync = intval($pnb_do_full_sync); if(empty($pnb_check_only_ended_loans)) { $pnb_check_only_ended_loans = 0; } $pnb_check_only_ended_loans = intval($pnb_check_only_ended_loans); $t = parent::make_serialized_task_params(); $t['pnb_do_full_sync'] = $pnb_do_full_sync; $t['pnb_check_only_ended_loans'] = $pnb_check_only_ended_loans; return serialize($t); } }