lib/DataSift/HistoricPreview.php
public function create()
    {
        $params = array(
            'start' => $this->getStart(),
            'hash' => $this->getHash(),
            'parameters' => implode(',', $this->getParameters())
        );
        if (is_int($this->end)) {
            $params['end'] = $this->getEnd();
        }
        $this->fromResponse($this->getUser()->post('preview/create', $params));
    }
public function create()
    {
        $params = array(
            'start' => $this->getStart(),
            'hash' => $this->getHash(),
            'parameters' => implode(',', $this->getParameters())
        );
        if (is_int($this->end)) {
            $params['end'] = $this->getEnd();
        }
        $this->fromResponse($this->getUser()->post('preview/create', $params));
    }
public function create ( ) { $ params = array ( 'start' => $ this -> getStart ( ) , 'hash' => $ this -> getHash ( ) , 'parameters' => implode ( ',' , $ this -> getParameters ( ) ) ) ; if ( is_int ( $ this -> end ) ) { $ params [ 'end' ] = $ this -> getEnd ( ) ; } $ this -> fromResponse ( $ this -> getUser ( ) -> post ( 'preview/create' , $ params ) ) ; }
Create the preview represented by the parameters in this object

@return DataSift_HistoricPreview

@throws DataSift_Exception_APIError
@throws DataSift_Exception_AccessDenied
Create the preview represented by the parameters in this object