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

Procedural File: course_virtual.php

Source Location: /main/admin/course_virtual.php



Page Details:



Tags:

author:  Roan Embrechts - initial admin interface
filesource:  Source Code for this file


Includes:

include(api_get_path(INCLUDE_PATH)."../lang/english/".$extra_lang_file.".inc.php") [line 49]
include("../inc/global.inc.php") [line 44]


Tags:

author:  Roan Embrechts - initial admin interface
filesource:  Source Code for this file
include(api_get_path(INCLUDE_PATH)."../lang/".$language_interface."/".$extra_lang_file.".inc.php") [line 50]
include_once(course.lib.php) [line 58]





COURSE_CATEGORY_FORM_NAME [line 77]

COURSE_CATEGORY_FORM_NAME = "course_category"

[ Top ]



COURSE_TITLE_FORM_NAME [line 73]

COURSE_TITLE_FORM_NAME = "course_title"

[ Top ]



CREATE_VIRTUAL_COURSE_OPTION [line 66]

CREATE_VIRTUAL_COURSE_OPTION = "create_virtual_course"

[ Top ]



DISPLAY_VIRTUAL_COURSE_LIST_OPTION [line 67]

DISPLAY_VIRTUAL_COURSE_LIST_OPTION = "display_virtual_course_list"

[ Top ]



FORM_ELEMENT_CODE_SIZE [line 69]

FORM_ELEMENT_CODE_SIZE = "20"

[ Top ]



FORM_ELEMENT_TEXT_SIZE [line 70]

FORM_ELEMENT_TEXT_SIZE = "60"

[ Top ]



LANGUAGE_SELECT_FORM_NAME [line 74]

LANGUAGE_SELECT_FORM_NAME = "course_language"

[ Top ]



REAL_COURSE_SELECT_FORM_NAME [line 75]

REAL_COURSE_SELECT_FORM_NAME = "real_course_code"

[ Top ]



SELECT_BOX_SIZE [line 71]

SELECT_BOX_SIZE = "10"

[ Top ]



WANTED_COURSE_CODE_FORM_NAME [line 76]

WANTED_COURSE_CODE_FORM_NAME = "wanted_course_code"

[ Top ]




attempt_create_virtual_course [line 336]

void attempt_create_virtual_course( $real_course_code, $course_title, $wanted_course_code, $course_language, $course_category)

Checks all parameters needed to create a virtual course.

If they are all set, the virtual course creation procedure is called. Call this function instead of create_virtual_course




Parameters

   $real_course_code  
   $course_title  
   $wanted_course_code  
   $course_language  
   $course_category  
[ Top ]



display_create_virtual_course_form [line 189]

void display_create_virtual_course_form( )



[ Top ]



display_language_select [line 131]

void display_language_select( $element_name)

Displays a select element (drop down menu) so the user can select the course language.



Tags:

todo:  function does not belong here, move to (display?) library,
todo:  language display used apparently no longer existing array, converted to english for now. but we should switch to display the real language names.


Parameters

   $element_name  
[ Top ]



display_main_options [line 284]

void display_main_options( )



[ Top ]



display_real_course_code_select [line 173]

void display_real_course_code_select( $element_name)

This code creates a select form element to let the user choose a real course to link to.

We display the course code, but internally store the course id.




Parameters

   $element_name  
[ Top ]



display_virtual_course_list [line 291]

void display_virtual_course_list( )



[ Top ]



get_language_folder_list [line 108]

void get_language_folder_list( $dirname)

Return a list of language directories.



Tags:

todo:  function does not belong here, move to code library, also see infocours.php and index.php which contain a similar function


Parameters

   $dirname  
[ Top ]



make_strong [line 97]

void make_strong( $text)



Parameters

   $text  
[ Top ]



Documentation generated on Thu, 12 Jun 2008 13:16:26 -0500 by phpDocumentor 1.4.1