You are here

function _signup_event_get_node_scheduler in Signup 5.2

Same name in this branch
  1. 5.2 includes/event.5x-1.inc \_signup_event_get_node_scheduler()
  2. 5.2 includes/event.5x-2.inc \_signup_event_get_node_scheduler()
Same name and namespace in other branches
  1. 6.2 includes/event.6x-2.inc \_signup_event_get_node_scheduler()
  2. 6 includes/event.6x-2.inc \_signup_event_get_node_scheduler()
  3. 7 includes/event.6x-2.inc \_signup_event_get_node_scheduler()

Determine if the given node has a start time managed by the event.module.

Parameters

$node: Fully loaded node object to test.

Return value

'event' if this is an event node, otherwise 'none'.

See also

_signup_get_node_scheduler()

1 call to _signup_event_get_node_scheduler()
_signup_get_node_scheduler in includes/scheduler.inc
Determine which scheduler backend to use for the given node.

File

includes/event.5x-1.inc, line 132
Code required to support version 5.x-1.* of the event module.

Code

function _signup_event_get_node_scheduler($node) {
  return isset($node->event_start) ? 'event' : 'none';
}