mgd_create_pagelink

Name

mgd_create_pagelink -- Create a pagelink

Synopsis

int mgd_create_pagelink(int up, string name, int target, int grp, int owner);

Description

Minimum version: Midgard 1.4 (Bifrost)

Creates a pagelink record with the provided parameters.

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

Example

<?php
  $pl = mgd_create_pagelink(17,"test","result",13,17);
?>