Sailthru_Client::processUpdateJob PHP Method

processUpdateJob() public method

Perform a bulk update of any number of user profiles from given context: String CSV, file, URL or query
public processUpdateJob ( String $context, $value, array $update = [], boolean | String $report_email = false, boolean | String $postback_url = false, array $file_params = [], array $options = [] ) : array
$context String
$value
$update array
$report_email boolean | String
$postback_url boolean | String
$file_params array
$options array
return array
    public function processUpdateJob($context, $value, array $update = [], $report_email = false, $postback_url = false, array $file_params = [], array $options = [])
    {
        $data = [$context => $value];
        if (count($update) > 0) {
            $data['update'] = $update;
        }
        return $this->processJob('update', $data, $report_email, $postback_url, $file_params, $options);
    }