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

Procedural File: debug.lib.inc.php

Source Location: /main/inc/lib/debug.lib.inc.php



Page Details:

This is the debug library for Dokeos.

Include/require it in your code to use its functionality.

debug functions




Tags:

filesource:  Source Code for this file








debug [line 41]

html debug( $variable $variable)

This function displays the contend of a variable, array or object in a nicely formatted way.



Tags:

return:  code;
author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University
version:  November 2006


Parameters

$variable   $variable   a variable, array or object
[ Top ]



debug_course [line 55]

void debug_course( )

This function displays all the information of the dokeos $_course array This array stores all the information of the current course if the user is in a course.

This is why this array is used to check weither the user is currently is in the course.




Tags:

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


[ Top ]



debug_paths [line 78]

void debug_paths( )

This function displays an overview of the different path constants that can be used with the api_get_path function



Tags:

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


[ Top ]



debug_user [line 67]

void debug_user( )

This function displays all the information of the dokeos $_user array This array stores all the information of the current user.



Tags:

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


[ Top ]



printVar [line 101]

void printVar( $var, [ $varName = &quot;@&quot;])



Parameters

   $var  
   $varName  
[ Top ]



Documentation generated on Thu, 12 Jun 2008 13:18:34 -0500 by phpDocumentor 1.4.1