Index: openacs-4/packages/xowiki/tcl/package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/package-procs.tcl,v diff -u -r1.56 -r1.57 --- openacs-4/packages/xowiki/tcl/package-procs.tcl 18 May 2007 18:22:41 -0000 1.56 +++ openacs-4/packages/xowiki/tcl/package-procs.tcl 1 Jun 2007 11:47:12 -0000 1.57 @@ -173,7 +173,29 @@ # # conditional links # - Package instproc make_link {-privilege -link object method args} { + Package ad_instproc make_link {-privilege -link object method args} { + Creates conditionally a link for use in xowiki. When the generated link + will be activated, the specified method of the object will be invoked. + make_link checks in advance, wether the actual user has enough + rights to invoke the method. If not, this method returns empty. + + @param Object The object to which the link refers to. If it is a package_id it will base \ + to the root_url of the package_id. If it is a page, it will base to the page_url + @param method Which method to use. This will be appended as "m=method" to the url. + + Examples for methods: +