dokeos-link
[ class tree: dokeos-link ] [ index: dokeos-link ] [ all elements ]

Procedural File: linkfunctions.php

Source Location: /main/link/linkfunctions.php



Page Details:

Function library for the links tool.

This is a complete remake of the original link tool. New features:

  • Organize links into categories;
  • favorites/bookmarks interface;
  • move links up/down within a category;
  • move categories up/down;
  • expand/collapse all categories;
  • add link to 'root' category => category-less link is always visible.




Tags:

author:  Rene Haentjens, CSV file import (October 2004)
author:  Patrick Cool, complete remake (December 2003 - January 2004)
filesource:  Source Code for this file








addlinkcategory [line 55]

void addlinkcategory( $type, string $type,)

Used to add a link or a category



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University
todo:  replace strings by constants


Parameters

string   $type,   "link" or "category"
   $type  
[ Top ]



change_visibility [line 343]

void change_visibility( $id, $scope)

changes the visibility of a link



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University
todo:  add the changing of the visibility of a course


Parameters

   $id  
   $scope  
[ Top ]



deletelinkcategory [line 174]

void deletelinkcategory( $type)

Used to delete a link or a category



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

   $type  
[ Top ]



editlinkcategory [line 219]

void editlinkcategory( $type)

Used to edit a link or a category



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University
todo:  rewrite the whole links tool because it is becoming completely cluttered, code does not follow the coding conventions, does not use html_quickform, ... some features were patched in
todo:  replace the globals with the appropriate $_POST or $_GET values


Parameters

   $type  
[ Top ]



get_cat [line 561]

void get_cat( $catname)

CSV file import functions



Tags:

author:  Rene Haentjens , Ghent University


Parameters

   $catname  
[ Top ]



import_csvfile [line 659]

void import_csvfile( )

CSV file import functions



Tags:

author:  Rene Haentjens , Ghent University


[ Top ]



import_link [line 623]

void import_link( $linkdata)

CSV file import functions



Tags:

author:  Rene Haentjens , Ghent University


Parameters

   $linkdata  
[ Top ]



makedefaultviewcode [line 325]

void makedefaultviewcode( $locatie)

creates a correct $view for in the URL



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

   $locatie  
[ Top ]



movecatlink [line 474]

void movecatlink( $catlinkid)

move a link or a linkcategory up or down



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

   $catlinkid  
[ Top ]



put_link [line 581]

void put_link( $url, $cat, $title, $description, $on_homepage, $hidden)

CSV file import functions



Tags:

author:  Rene Haentjens , Ghent University


Parameters

   $url  
   $cat  
   $title  
   $description  
   $on_homepage  
   $hidden  
[ Top ]



showcategoryadmintools [line 440]

void showcategoryadmintools( $categoryid)

displays the edit, delete and move icons



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

   $categoryid  
[ Top ]



showlinksofcategory [line 364]

void showlinksofcategory( $catid)

displays all the links of a given category.



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

   $catid  
[ Top ]



Documentation generated on Thu, 12 Jun 2008 13:59:58 -0500 by phpDocumentor 1.4.1