function eloqua_post_get_batch in Eloqua 6
1 call to eloqua_post_get_batch()
- _eloqua_cron in ./
eloqua.cron.inc - Implementation of hook_cron()
File
- ./
eloqua.inc, line 404
Code
function eloqua_post_get_batch() {
$sql = "SELECT * FROM " . ELOQUA_SCHEMA_SAVED_POSTS . " WHERE " . ELOQUA_POST_FIELD_STATUS . " = '%s'" . " LIMIT %d";
$batch_size = eloqua_get_batch_size();
$params = array(
ELOQUA_STATUS_NEW,
$batch_size,
);
$options = array(
ELOQUA_QUERY_OPTION_UNSERIALIZE_DATA => TRUE,
);
$result = _eloqua_select_all_query($sql, $params, $options);
return $result;
}