Pagelink records are used as symbolic links for URL's.
Pagelinks are only available from Midgard 1.4 'Bifrost' and later releases if you compiled Midgard with the --with-pagelinks configure option.
A pagelink record contains information about a pagelink, its parent page and its target.
Fields of a pagelink record
The id of the pagelink record.
The id of the parent page.
The name of the pagelink.
The id of the target Page of the pagelink. The URL that will be returned when name is requested.
The id of the group whose members are allowed to follow the Pagelink. Default is "0" for any group.
The id of the group that owns the pagelink.
The id of the sitegroup the pagelink belongs to.
This section describes the contents of pagelink objects. Most object parameters map directly to the record fields described above.
The functions listed within the object definition are the object methods that are available for the object. Usage information about those methods can be found in Object Methods.
/* Pagelink Objejct Prototype */ Class pagelink { var $N; # Only with mgd_list_XXX functions. var $id; var $up; var $name; var $target; var $grp; var $owner; var $sitegroup; function fetch(); # only with mgd_list_XXX functions. function create(); function update(); function delete(); function setsitegroup(); function getsitegroup(); function parameter(); function listparameters(); function searchparameters(); function setscore(); function settype(); function createattachment(); function updateattachment(); function deleteattachment(); function getattachment(); function listattachment(); function openattachment(); function serveattachment(); }