Moodle – קידוד הנכון לכתיבת קוד ב-php במערכת מודל

רשימת הטעויות הנפוצות ביותר בכתיבת קוד ב-Moodle.

שמות הנכונים להגדרת פרמטרים

//BED $Userid, $course_id, $ModuleCourseid
//GOOD $userid, $courseid, $modulecourseid,  $param1, $parm2 ..

Continue reading “Moodle – קידוד הנכון לכתיבת קוד ב-php במערכת מודל”

Moodle – How to make a test course in CLI mode

The fast way to define test course Moodle using CLI Screen

The fastest way to define a test course Moodle using the CLI Screen

php admin/tool/generator/cli/maketestcourse.php --shortname=Course1 --fullname=Course1 --size=S

–size=S – under a 100 users in the course

–size=M – under a 1000 users in the course

add default password for all test students, write it in config.php:

$CFG->tool_generator_users_password='Yorepassword1!';

Moodle – How to make a test course in CLI mode

The fast way to define test course Moodle using CLI Screen

The fastest way to define a test course Moodle using the CLI Screen

php admin/tool/generator/cli/maketestcourse.php --shortname=Course1 --fullname=Course1 --size=M

–size=S – under a 100 users in the course

–size=M – under a 1000 users in the course

add

$CFG->tool_generator_users_password='your password for all tests user';

Math – Tangent Point Problem and Solution

In this problem the student is supposed to address some claims about tangents and function and to provide graphs which support his answers. In general student can use 1 method of adding a tangent line (by adding a straight line which is movable and with adjustable slope) and 2 methods of adding a function:

Continue reading “Math – Tangent Point Problem and Solution”