You are here

function event_where_event in Event 5.2

Same name in this branch
  1. 5.2 event_database.mysql.inc \event_where_event()
  2. 5.2 event_database.mysqli.inc \event_where_event()
  3. 5.2 event_database.pgsql.inc \event_where_event()

Parameters

$type either 'start' or 'end':

See also

event_where

Related topics

2 calls to event_where_event()
event_select in ./event.module
Return SQL string for SELECT statement
event_where in ./event.module
Return SQL string for WHERE statement

File

./event_database.mysql.inc, line 173

Code

function event_where_event($type = 'start') {
  global $user;
  switch ($type) {
    case 'end':
    case 'start':
      return "e.event_{$type}";
  }
}