You are here

function availability_calendars_save in Availability Calendars 5

Same name and namespace in other branches
  1. 6 availability_calendars.module \availability_calendars_save()

Saves a set of dates associated with the node after editing it.

Parameters

object $node Node information to save into the database.:

1 call to availability_calendars_save()
availability_calendars_nodeapi in ./availability_calendars.module
Implementation hook node_nodeapi();

File

./availability_calendars.module, line 499
Availability Calendars Module

Code

function availability_calendars_save(&$node) {
  variable_set('availability_calendars_' . $node->nid . '_startofweek', $node->startofweek);
}