Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

User talk:Dan Poltawski

From MoodleDocs
Revision as of 10:41, 18 June 2014 by Dan Poltawski (talk | contribs)

Testing bad code php whitespace (MDLSITE-3137): $a = required_param('a', PARAM_INT); if ($a > 10) {

   call_some_error($a);

} else {

   do_something_with($a);

}

Testing code without php newlines ( MDLSITE-3121):

add_to_log($courseid, $module, $action, $url=, $info=, $cm=0, $user=0)
user_accesstime_log($courseid=0)
get_logs($select, array $params=null, $order='l.time DESC', $limitfrom=, $limitnum=, &$totalcount)
get_logs_usercourse($userid, $courseid, $coursestart)
get_logs_userday($userid, $courseid, $daystart)

testing tex: