mgd_update_event

(Midgard 1.4.2 'Bifrost')

mgd_update_event -- Update an event record

Description

bool mgd_update_event (int id, timestamp start, timestamp end, string title, string description, int type, string extra, int owner, bool busy)

Minimum version: Midgard 1.4 (Bifrost)

Updates the event record with id id with the provided parameters.

Returns TRUE on success. Returns FALSE on failure.


<?php
  $test = mgd_update_event(
          17,
          5989984,
          7209890,
          "example",
          "new description",
          7,
          "green",
          123,
          FALSE);
?>