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

Procedural File: md_funcs.php

Source Location: /main/metadata/md_funcs.php



Classes:

mdstore


Page Details:

Dokeos Metadata: common functions and mdstore class

This script requires xmd.lib.php and xht.lib.php (Dokeos inc/lib).

Note on the funny characters used in mds_update_xml_and_mdt:

! and ~ and , are handled by xmd_update, see xmd.lib.php ~~ !! ; and = are handled here; note that = excludes newlines in value

path!elem create new element (not for attributes!) path=value assign new value to existing element or value to attribute path~ delete element (you cannot delete an attribute) ~~ delete the whole xmldoc and the DB entry !! this (xml) document contains the course keywords

path1,path2,...;subpath=value for all elements in path1, path2, ... assign value to subpath (see also xmd_update_many)




Tags:

filesource:  Source Code for this file








define_htt [line 82]

void define_htt( $htt_file, $urlp, $course_path)



Parameters

   $htt_file  
   $urlp  
   $course_path  
[ Top ]



define_kwds [line 208]

void define_kwds( $mdo)



Parameters

   $mdo  
[ Top ]



fgc [line 43]

void fgc( $filename)

Dokeos Metadata: common functions and mdstore class

This script requires xmd.lib.php and xht.lib.php (Dokeos inc/lib).

Note on the funny characters used in mds_update_xml_and_mdt:

! and ~ and , are handled by xmd_update, see xmd.lib.php ~~ !! ; and = are handled here; note that = excludes newlines in value

path!elem create new element (not for attributes!) path=value assign new value to existing element or value to attribute path~ delete element (you cannot delete an attribute) ~~ delete the whole xmldoc and the DB entry !! this (xml) document contains the course keywords

path1,path2,...;subpath=value for all elements in path1, path2, ... assign value to subpath (see also xmd_update_many)




Tags:

filesource:  Source Code for this file


Parameters

   $filename  
[ Top ]



getpar [line 57]

void getpar( $name, $description, [ $default = ''])



Parameters

   $name  
   $description  
   $default  
[ Top ]



get_course_path [line 69]

void get_course_path( )



[ Top ]



get_course_web [line 75]

void get_course_web( )



[ Top ]



give_up [line 50]

void give_up( $msg)



Parameters

   $msg  
[ Top ]



make_uri [line 109]

void make_uri( )



[ Top ]



Documentation generated on Thu, 12 Jun 2008 14:05:21 -0500 by phpDocumentor 1.4.1