sailthru/Sailthru_Client.php
public function postEvent($id, $event, $options = [ ]) {
        $data = $options;
        $data['id'] = $id;
        $data['event'] = $event;

        $result = $this->apiPost('event', $data);
        return $result;
    }
public function postEvent($id, $event, $options = [ ]) {
        $data = $options;
        $data['id'] = $id;
        $data['event'] = $event;

        $result = $this->apiPost('event', $data);
        return $result;
    }
public function postEvent ( $ id , $ event , $ options = [ ] ) { $ data = $ options ; $ data [ 'id' ] = $ id ; $ data [ 'event' ] = $ event ; $ result = $ this -> apiPost ( 'event' , $ data ) ; return $ result ; }
Notify Sailthru of an event
@param string $id
@param string $event
@param array $options
@return array
@link http://docs.sailthru.com/api/event
Notify Sailthru of an event