public function check_status($batch_id = null)
    {
        if ($batch_id === null && $this->batch_id) {
            $batch_id = $this->batch_id;
        }

        return $this->MailChimp->get('batches/' . $batch_id);
    }
public function check_status($batch_id = null)
    {
        if ($batch_id === null && $this->batch_id) {
            $batch_id = $this->batch_id;
        }

        return $this->MailChimp->get('batches/' . $batch_id);
    }
public function check_status ( $ batch_id = null ) { if ( $ batch_id === null && $ this -> batch_id ) { $ batch_id = $ this -> batch_id ; } return $ this -> MailChimp -> get ( 'batches/' . $ batch_id ) ; }
Check the status of a batch request. If the current instance of the Batch object
was used to make the request, the batch_id is already known and is therefore optional.

@param string $batch_id ID of the batch about which to enquire

@return  array|false   Assoc array of API response, decoded from JSON
Check the status of a batch request . If the current instance of the Batch object was used to make the request the batch_id is already known and is therefore optional .