lib/DataSift/Definition.php
public function createHistoric($start, $end, $sources, $name, $sample = DataSift_Historic::DEFAULT_SAMPLE)
    {
        return new DataSift_Historic($this->_user, $this->getHash(), $start, $end, $sources, $name, $sample);
    }
public function createHistoric($start, $end, $sources, $name, $sample = DataSift_Historic::DEFAULT_SAMPLE)
    {
        return new DataSift_Historic($this->_user, $this->getHash(), $start, $end, $sources, $name, $sample);
    }
public function createHistoric ( $ start , $ end , $ sources , $ name , $ sample = DataSift_Historic :: DEFAULT_SAMPLE ) { return new DataSift_Historic ( $ this -> _user , $ this -> getHash ( ) , $ start , $ end , $ sources , $ name , $ sample ) ; }
Create a historic based on this CSDL.

@param int    $start   The timestamp from which to start the query.
@param int    $end     The timestamp at which to end the query.
@param array  $sources An array of sources required.
@param string $name    An optional name for this historic.
@param float  $sample  Sample size (10 or 100)

@return DataSift_Historic
@throws DataSift_Exception_InvalidData
@throws DataSift_Exception_APIError
@throws DataSift_Exception_CompileError
Create a historic based on this CSDL .