mgd_create_snippetdir

Name

mgd_create_snippetdir -- Create a snippetdir

Synopsis

int mgd_create_snippetdir(int [up], string name, string description, int owner);

Description

Minimum version: Midgard 1.4 (Bifrost)

Creates a snippetdir record with the provided parameters.

Returns the id of the created record if successfull. Returns false on failure.

Example

<?php
  mgd_create_snippetdir("example","toplevel snippetdir named example",13);
?>