PHP Class DataSift_ODP
This software is the intellectual property of MediaSift Ltd., and is covered
by retained intellectual property rights, including copyright.
Distribution of this software is strictly forbidden under the terms of this license.
The DataSift_ODP class represents an ODP query.
Afficher le fichier
Open project: datasift/datasift-php
Class Usage Examples
Méthodes publiques
Méthode |
Description |
|
__construct ( DataSift_User $user, $source_id ) |
Construct the DataSift_ODP user object |
|
getSourceId ( ) : string |
Gets the Managed Source ID |
|
ingest ( $data_set ) |
Generates a curl request to the Ingestion Endpoint |
|
setSourceId ( string $source_id ) |
Sets the Managed Source ID |
|
Method Details
__construct()
public méthode
Construct the DataSift_ODP user object
public __construct ( DataSift_User $user, $source_id ) |
$user |
DataSift_User |
The Datasift user object |
getSourceId()
public méthode
Gets the Managed Source ID
Generates a curl request to the Ingestion Endpoint
setSourceId()
public méthode
Sets the Managed Source ID