function pardot_scoring_load in Pardot Integration 7
Same name and namespace in other branches
- 6 pardot.module \pardot_scoring_load()
- 7.2 pardot.module \pardot_scoring_load()
Loads a Pardot scoring object.
Parameters
int $scoring_id: The scoring object ID.
File
- ./
pardot.module, line 275 - Pardot integration module.
Code
function pardot_scoring_load($scoring_id) {
return db_query('SELECT * FROM {pardot_scoring} WHERE scoring_id = :scoring_id', array(
':scoring_id' => $scoring_id,
))
->fetchObject();
}