com-tecnick-tcexam-shared

# Element index for package com-tecnick-tcexam-shared [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ p ] [ r ] [ s ] [ t ] [ u ] [ w ] [ _ ] ## _ __construct in file tce_latexrender.php, method LatexRender::__construct() Class Constructor. __destruct in file tce_latexrender.php, method LatexRender::__destruct() Default destructor. top ## c $convert_path in file tce_latexrender.php, variable LatexRender::$convert_path checkImageDimensions in file tce_latexrender.php, method LatexRender::checkImageDimensions() Check the dimensions of a picture file using 'identify' of the ImageMagick tools. cleanTemporaryDirectory in file tce_latexrender.php, method LatexRender::cleanTemporaryDirectory() Removes temporary files. top ## d $dvips_path in file tce_latexrender.php, variable LatexRender::$dvips_path top ## e $errorcode in file tce_latexrender.php, variable LatexRender::$errorcode top ## f $font_size in file tce_latexrender.php, variable LatexRender::$font_size $formula_density in file tce_latexrender.php, variable LatexRender::$formula_density F_addLogAnswers in file tce_functions_test.php, function F_addLogAnswers() Add specified answers on tce_tests_logs_answer table. F_addQuestionAnswers in file tce_functions_test.php, function F_addQuestionAnswers() Add answers to selected question. F_altLogin in file tce_altauth.php, function F_altLogin() Alternate Login. F_checkTestStatus in file tce_functions_test.php, function F_checkTestStatus() Check and returns specific test status for the specified user. F_check_fields_format in file tce_functions_form.php, function F_check_fields_format() Check fields format using regular expression comparisons. Returns a string containing a list of wrong fields (comma separated). F_check_form_fields in file tce_functions_form.php, function F_check_form_fields() Check Form Fields. F_check_required_fields in file tce_functions_form.php, function F_check_required_fields() Check Required Form Fields. Returns a string containing a list of missing fields (comma separated). F_check_unique in file tce_functions_general.php, function F_check_unique() Check if specified fields are unique on table. F_close_button in file tce_functions_form.php, function F_close_button() Returns XHTML code string to display a window close button F_compact_string in file tce_functions_general.php, function F_compact_string() Remove the following characters: F_count_rows in file tce_functions_general.php, function F_count_rows() Count rows of the given table. F_createTest in file tce_functions_test.php, function F_createTest() Create user's test and returns TRUE on success. F_db_getUTCoffset in file tce_functions_general.php, function F_db_getUTCoffset() Returns the UTC time offset yo be used with CONVERT_TZ function F_decode_form_fields in file tce_functions_form.php, function F_decode_form_fields() Returns an array containing form fields. F_decode_tcecode in file tce_functions_tcecode.php, function F_decode_tcecode() Returns XHTML code from text marked-up with TCExam Code Tags F_display_db_error in file tce_functions_errmsg.php, function F_display_db_error() Print the database error message. F_empty_to_null in file tce_functions_general.php, function F_empty_to_null() Prepare field value for SQL query. Returns the quoted string if not empty, NULL otherwise. F_error_handler in file tce_functions_errmsg.php, function F_error_handler() Custom PHP error handler function. F_executeTest in file tce_functions_test.php, function F_executeTest() Returns true if the current user is authorized to execute the selected test. Generates the test if it's not already generated. F_formatPdfPercentage in file tce_functions_general.php, function F_formatPdfPercentage() format a percentage number F_formatPercentage in file tce_functions_general.php, function F_formatPercentage() Format a percentage number. F_formatXMLPercentage in file tce_functions_general.php, function F_formatXMLPercentage() format a percentage number for XML F_getAuthorizedUsers in file tce_functions_authorization.php, function F_getAuthorizedUsers() Returns a comma separated string of ID of the users that belong to the same groups. F_getBoolean in file tce_functions_general.php, function F_getBoolean() Returns boolean value from string. This function is needed to get the right boolean value from boolean field returned by PostgreSQL query. F_getFirstTestUser in file tce_functions_test.php, function F_getFirstTestUser() Returns the ID of the tce_tests_users table corresponding to a complete test of $test_id type. F_getNumOmittedQuestions in file tce_functions_test.php, function F_getNumOmittedQuestions() Returns the number of omitted questions (unanswered + undisplayed). F_getQuestionTestStat in file tce_functions_test_stats.php, function F_getQuestionTestStat() Returns test data structure for selected question: F_getTestData in file tce_functions_test.php, function F_getTestData() Returns the test data. F_getTestDuration in file tce_functions_test.php, function F_getTestDuration() Returns the test duration time in seconds. F_getTestName in file tce_functions_test.php, function F_getTestName() Returns the test name. F_getTestStartTime in file tce_functions_test.php, function F_getTestStartTime() Returns the user's test start time in seconds since UNIX epoch (1970-01-01 00:00:00). F_getUserData in file tce_functions_test.php, function F_getUserData() Returns user data. F_getUserTests in file tce_functions_test.php, function F_getUserTests() Returns an XHTML table of user's tests. F_getUserTestStat in file tce_functions_test_stats.php, function F_getUserTestStat() Returns test data structure for selected user: F_getUTCoffset in file tce_functions_general.php, function F_getUTCoffset() Returns the UTC time offset in seconds F_html_to_text in file tce_functions_html2txt.php, function F_html_to_text() Convert HTML code to Text string. F_isAuthorizedUser in file tce_functions_authorization.php, function F_isAuthorizedUser() Returns true if the current user is authorized to update and delete the selected database record. F_isRightTestlogUser in file tce_functions_test.php, function F_isRightTestlogUser() Checks if the current user is the right testlog_id owner. This function is used for security reasons. F_isValidIP in file tce_functions_test.php, function F_isValidIP() Check if user's IP is valid over test IP range F_isValidTestUser in file tce_functions_test.php, function F_isValidTestUser() Check if user is authorized to execute the specified test F_latex_callback in file tce_functions_tcecode.php, function F_latex_callback() Callback function for preg_replace_callback (LaTeX replacement). F_lockUserTest in file tce_functions_test_stats.php, function F_lockUserTest() Lock the user's test. F_loginForm in file tce_functions_authorization.php, function F_loginForm() Returns XHTML / CSS formatted string for login form. F_login_form in file tce_functions_authorization.php, function F_login_form() Display login page. F_logout_form in file tce_functions_authorization.php, function F_logout_form() Display logout form. F_logout_page in file tce_functions_authorization.php, function F_logout_page() Display logout page. F_menu_isChildActive in file tce_functions_menu.php, function F_menu_isChildActive() Returns true if the menu item has an active child, false otherwise. F_menu_link in file tce_functions_menu.php, function F_menu_link() Returns a menu element link wit subitems. F_newTestLog in file tce_functions_test.php, function F_newTestLog() Creates a new tce_tests_logs table entry and returns inserted ID. F_objects_callback in file tce_functions_tcecode.php, function F_objects_callback() Callback function for preg_replace_callback. F_objects_replacement in file tce_functions_tcecode.php, function F_objects_replacement() Returns the xhtml code needed to display the object by MIME type. F_printTestInfo in file tce_functions_test.php, function F_printTestInfo() Returns an XHTML string containing specified test information. F_print_error in file tce_functions_errmsg.php, function F_print_error() Handle error/warning/system messages. F_questionForm in file tce_functions_test.php, function F_questionForm() Returns a formatted XHTML form code to handle the specified question. F_questionsMenu in file tce_functions_test.php, function F_questionsMenu() Returns a questions menu and navigator buttons. F_removeTestResults in file tce_functions_test.php, function F_removeTestResults() Remove the specified test results for the current user F_remove_tcecode in file tce_functions_tcecode.php, function F_remove_tcecode() Returns specified string without tcecode mark-up tags F_replace_angulars in file tce_functions_general.php, function F_replace_angulars() Replace angular parenthesis with html equivalents (html entities). F_selectAnswers in file tce_functions_test.php, function F_selectAnswers() Return an array containing answer_id field of selected answers. F_send_user_reg_email in file tce_functions_user_registration.php, function F_send_user_reg_email() Send a registration verification email to user. F_session_close in file tce_functions_session.php, function F_session_close() Close session. Call garbage collector function to remove expired sessions. F_session_destroy in file tce_functions_session.php, function F_session_destroy() Deletes the specific session. F_session_gc in file tce_functions_session.php, function F_session_gc() Garbage collector. Deletes expired sessions. NOTE: while time() function returns a 32 bit integer, it works fine until year 2038. F_session_open in file tce_functions_session.php, function F_session_open() Open session. F_session_read in file tce_functions_session.php, function F_session_read() Get session data. F_session_string_to_array in file tce_functions_session.php, function F_session_string_to_array() Convert encoded session string data to array. F_session_write in file tce_functions_session.php, function F_session_write() Insert or Update session. F_show_page_navigator in file tce_functions_page.php, function F_show_page_navigator() Display Pages navigation index. F_stripslashes_formfields in file tce_functions_form.php, function F_stripslashes_formfields() Strip slashes from posted form fields. F_submit_button in file tce_functions_form.php, function F_submit_button() Returns XHTML code string to display Form Submit Button. F_substrHTML in file tce_functions_tcecode.php, function F_substrHTML() Return a substring of XHTML code while making sure no html tags are chopped. F_substr_utf8 in file tce_functions_general.php, function F_substr_utf8() Return part of a string removing remaining non-ASCII characters. F_tcecodeToLine in file tce_functions_tcecode.php, function F_tcecodeToLine() Converts tcecode text to a single XHTML string removing some objects. F_tcecodeToTitle in file tce_functions_tcecode.php, function F_tcecodeToTitle() Converts tcecode text to simple string for XHTML title attribute. F_terminateUserTest in file tce_functions_test.php, function F_terminateUserTest() Terminate user's test F_testComment in file tce_functions_test.php, function F_testComment() Display a textarea for user's comment. F_testInfoLink in file tce_functions_test.php, function F_testInfoLink() Returns XHTML link to open test info popup. F_text_to_xml in file tce_functions_general.php, function F_text_to_xml() Escape some special characters (&lt; &gt; &amp;). F_twoColRow in file tce_functions_test.php, function F_twoColRow() Return a formatted XHTML row to display 2 columns data. F_updateQuestionLog in file tce_functions_test.php, function F_updateQuestionLog() Updates question log data (register user's answers and calculate scores). F_updateTestComment in file tce_functions_test.php, function F_updateTestComment() Updates user's test comment. F_xml_to_text in file tce_functions_general.php, function F_xml_to_text() Unescape some special characters (&lt; &gt; &amp;). F_zero_to_null in file tce_functions_general.php, function F_zero_to_null() Prepare field value for SQL query. Returns the num if different from zero, NULL otherwise. top ## g getClientFingerprint in file tce_functions_session.php, function getClientFingerprint() Generate a client fingerprint (unique ID for the client browser) getErrorCode in file tce_latexrender.php, method LatexRender::getErrorCode() Returns the error code getFilename in file tce_latexrender.php, method LatexRender::getFilename() Wraps a minimalistic LaTeX document around the formula and returns a string containing the whole document as string. getFormulaURL in file tce_latexrender.php, method LatexRender::getFormulaURL() Tries to match the LaTeX Formula given as argument against the formula cache. If the picture has not been rendered before, it'll try to render the formula and drop it in the picture cache directory. getImageHeight in file tce_latexrender.php, method LatexRender::getImageHeight() Returns Image height getImageWidth in file tce_latexrender.php, method LatexRender::getImageWidth() Returns Image width getIpAsInt in file tce_functions_general.php, function getIpAsInt() Converts a string containing an IP address into its integer value. getIpAsString in file tce_functions_general.php, function getIpAsString() Converts a string containing an IP address into its integer value and return string representation. getNewSessionID in file tce_functions_session.php, function getNewSessionID() Generate and return a new session ID. getNormalizedIP in file tce_functions_general.php, function getNormalizedIP() Convert all IP addresses to IPv6 expanded notation. top ## h $height_limit in file tce_latexrender.php, variable LatexRender::$height_limit top ## i $identify_path in file tce_latexrender.php, variable LatexRender::$identify_path $image_format in file tce_latexrender.php, variable LatexRender::$image_format $img_height in file tce_latexrender.php, variable LatexRender::$img_height $img_prefix in file tce_latexrender.php, variable LatexRender::$img_prefix $img_width in file tce_latexrender.php, variable LatexRender::$img_width top ## l $latexclass in file tce_latexrender.php, variable LatexRender::$latexclass $latex_formula in file tce_latexrender.php, variable LatexRender::$latex_formula $latex_path in file tce_latexrender.php, variable LatexRender::$latex_path $latex_tags_blacklist in file tce_latexrender.php, variable LatexRender::$latex_tags_blacklist LatexRender in file tce_latexrender.php, class LatexRender This is a PHP5 class for generating images from LaTeX Formulas. top ## p $picture_path in file tce_latexrender.php, variable LatexRender::$picture_path $picture_path_httpd in file tce_latexrender.php, variable LatexRender::$picture_path_httpd pdfLink in file tce_functions_test_stats.php, function pdfLink() Returns an URL to open the PDF generator page. top ## r renderLatex in file tce_latexrender.php, method LatexRender::renderLatex() Renders a LaTeX formula by the using the following method: top ## s $string_length_limit in file tce_latexrender.php, variable LatexRender::$string_length_limit setFilenamePrefix in file tce_latexrender.php, method LatexRender::setFilenamePrefix() Set filename prefix for chached images. setFontSize in file tce_latexrender.php, method LatexRender::setFontSize() Set font size. setFormulaDensity in file tce_latexrender.php, method LatexRender::setFormulaDensity() Set formula density (used by ImageMagick) setImageFormat in file tce_latexrender.php, method LatexRender::setImageFormat() Set the image format (default = PNG). setLatexBlackList in file tce_latexrender.php, method LatexRender::setLatexBlackList() Set the list of unauthorized LaTeX commands. setLatexClass in file tce_latexrender.php, method LatexRender::setLatexClass() Set LaTeX class. setMaxHeight in file tce_latexrender.php, method LatexRender::setMaxHeight() Set image height limit in pixels. setMaxLenght in file tce_latexrender.php, method LatexRender::setMaxLenght() Set size limit for input string. setMaxWidth in file tce_latexrender.php, method LatexRender::setMaxWidth() Set image width limit in pixels. setPathToDvips in file tce_latexrender.php, method LatexRender::setPathToDvips() Set path to DVIPS. setPathToImageMagicConvert in file tce_latexrender.php, method LatexRender::setPathToImageMagicConvert() Set path to ImageMagick convert. setPathToImageMagicIdentify in file tce_latexrender.php, method LatexRender::setPathToImageMagicIdentify() Set path to ImageMagick identify. setPathToLatex in file tce_latexrender.php, method LatexRender::setPathToLatex() Set path to LATEX. setPathToPicturesDir in file tce_latexrender.php, method LatexRender::setPathToPicturesDir() Set the absolute path to images directory. setPathToPicturesDirHttpd in file tce_latexrender.php, method LatexRender::setPathToPicturesDirHttpd() Set relative path to images directory. setPathToTempDir in file tce_latexrender.php, method LatexRender::setPathToTempDir() Set path to temporary directory. showRequiredField in file tce_functions_general.php, function showRequiredField() Return a string containing an HTML acronym for required/not required fields. top ## t $tmp_dir in file tce_latexrender.php, variable LatexRender::$tmp_dir $tmp_filename in file tce_latexrender.php, variable LatexRender::$tmp_filename tce_altauth.php procedural page tce_altauth.php tce_authorization.php procedural page tce_authorization.php tce_db_connect.php procedural page tce_db_connect.php tce_db_dal.php procedural page tce_db_dal.php tce_db_dal_mysql.php procedural page tce_db_dal_mysql.php tce_db_dal_oracle.php procedural page tce_db_dal_oracle.php tce_db_dal_postgresql.php procedural page tce_db_dal_postgresql.php tce_functions_authorization.php procedural page tce_functions_authorization.php tce_functions_errmsg.php procedural page tce_functions_errmsg.php tce_functions_form.php procedural page tce_functions_form.php tce_functions_general.php procedural page tce_functions_general.php tce_functions_html2txt.php procedural page tce_functions_html2txt.php tce_functions_menu.php procedural page tce_functions_menu.php tce_functions_page.php procedural page tce_functions_page.php tce_functions_session.php procedural page tce_functions_session.php tce_functions_tcecode.php procedural page tce_functions_tcecode.php tce_functions_test.php procedural page tce_functions_test.php tce_functions_test_stats.php procedural page tce_functions_test_stats.php tce_functions_user_registration.php procedural page tce_functions_user_registration.php tce_latexrender.php procedural page tce_latexrender.php tce_page_timer.php procedural page tce_page_timer.php tce_page_userbar.php procedural page tce_page_userbar.php top ## u unhtmlentities in file tce_functions_general.php, function unhtmlentities() Reverse function for htmlentities. utrim in file tce_functions_general.php, function utrim() Strip whitespace (or other characters) from the beginning and end of an UTF-8 string and replace the \xA0 with normal space. top ## w $width_limit in file tce_latexrender.php, variable LatexRender::$width_limit wrapFormula in file tce_latexrender.php, method LatexRender::wrapFormula() Wraps a minimalistic LaTeX document around the formula and returns a string containing the whole document as string. top Documentation generated on Mon, 06 Dec 2010 12:02:59 +0100 by phpDocumentor 1.4.3