ONO::FW::Edu::Apps::Modules::LangTrainer

This module is a front end application module wrapper that has been created for the Morzino Project (morzino.com) and that has been released as Open Source software.

Note that this is NOT a self-contained application, it is only a wrapper that makes heavy use of the ONO Perl Framework application engine.

Functions

answer_is_correct();

ONO::FW::Edu::Apps::Modules::LangTrainer->answer_is_correct( $MODE, $word, $answer, $answer_alt );
returns: $answer_is_correct

app_opts();

ONO::FW::Edu::Apps::Modules::LangTrainer->app_opts( );
returns: ( "copywords", "remember", "writewords", "findwords", "sentences", "imgwords", "scrambled", "cutpaste", "rightwrong", )

app_opts_names();

ONO::FW::Edu::Apps::Modules::LangTrainer->app_opts_names( );

learn();

ONO::FW::Edu::Apps::Modules::LangTrainer->learn( $option, $vars_ref, $HTTP, $BASE );
returns: $WEB

new_pdf_page();

ONO::FW::Edu::Apps::Modules::LangTrainer->new_pdf_page( $BASE, $canvas, $format, $PDF_OPTS, $title, $code, $vars_ref, $MODE24 );

pdf_answer_line();

ONO::FW::Edu::Apps::Modules::LangTrainer->pdf_answer_line( $canvas, $line, $line_start, $line_end, $pdf_y, $size, $color );

scram_array();

ONO::FW::Edu::Apps::Modules::LangTrainer->scram_array( );
returns: @array

scram_display_word();

ONO::FW::Edu::Apps::Modules::LangTrainer->scram_display_word( $MODE, $alt_answer, $is_correct, $pre, $post );
returns: qq~<div class="inline fr">$SCRAM</div>~

scram_init();

ONO::FW::Edu::Apps::Modules::LangTrainer->scram_init( );
returns: ($alt_answer,$upper_answer)

scram_pre_post();

ONO::FW::Edu::Apps::Modules::LangTrainer->scram_pre_post( $alt_answer, $make_uc, $letters_lc_ref, $letters_uc_ref );

Sub-Modules

none

Dependencies

Code