You are here

public static function Messaging_Store::select_query in Messaging 6.4

Run select query with given parameters

Parameters

$fields: Array of field names for SELECT

$conditions: Array of query conditions

$query_params: Mixed query parameters (limit, pager, group....)

5 calls to Messaging_Store::select_query()
Messaging_Store::get_messages in includes/messaging_store.class.inc
Retrieve from messaging database storage
Messaging_Store::get_status in includes/messaging_store.class.inc
Get status summary
Messaging_Store::queue_count in includes/messaging_store.class.inc
Count queued messages
Messaging_Store::queue_process_step in includes/messaging_store.class.inc
Retrieve and send queued messages
Messaging_Store::_message_load in includes/messaging_store.class.inc
Load single message from store. No static cache.

File

includes/messaging_store.class.inc, line 249
Database storage for the messaging framework

Class

Messaging_Store
Default storage and queueing system for Messaging

Code

public static function select_query($fields = '*', $conditions = NULL, $query_params = array()) {
  $query = self::query_select($fields, $conditions, $query_params);
  return messaging_query_sql($query, TRUE);
}