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: Difference between revisions

From MoodleDocs
m (Protected "talk": For tim. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 22: Line 22:
  <math>
  <math>
   \operatorname{erfc}(x) =
   \operatorname{erfc}(x) =
   \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^4}\,dt =
   \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^0}\,dt =
   \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=2}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
   \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
  </math>
  </math>

Revision as of 09:46, 14 August 2014

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: