Name
mgd_update_style -- Update a style record
Synopsis
bool mgd_update_style
(int id, string name, int owner);
Description
Minimum version: Midgard 1.0 (Land Rover)
Updates the style record with id id
with the provided parameters.
Returns true if successfull.
Returns false on failure.
Example
<?php
$id = 123;
$name = "EvenGreaterStyle";
$owner = 13;
if(mgd_update_style($id)) {
echo "Style updated.";
} else {
echo "failed to update style.";
}
?>