public function schedule($schedule_time, $schedule_time_b = null) {
        $payload = array(
            'cid' => $this->cid,
            'schedule_time' => $schedule_time,
            'schedule_time_b' => $schedule_time_b
        );
        $apiCall = 'campaigns/schedule';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data, true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return true;
    }
public function schedule($schedule_time, $schedule_time_b = null) {
        $payload = array(
            'cid' => $this->cid,
            'schedule_time' => $schedule_time,
            'schedule_time_b' => $schedule_time_b
        );
        $apiCall = 'campaigns/schedule';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data, true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return true;
    }
public function schedule ( $ schedule_time , $ schedule_time_b = null ) { $ payload = array ( 'cid' => $ this -> cid , 'schedule_time' => $ schedule_time , 'schedule_time_b' => $ schedule_time_b ) ; $ apiCall = 'campaigns/schedule' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return true ; }
Schedule a campaign to be sent in the future

@link http://apidocs.mailchimp.com/api/2.0/campaigns/schedule.php
@param string $schedule_time
@param string $schedule_time_b
@return boolean true on success
@throws MailchimpAPIException
Schedule a campaign to be sent in the future