mgd_update_event

Name

mgd_update_event -- Update an event record

Synopsis

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

Description

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.

Example

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