Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Sandbox.

Sandbox: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(486 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
abcdef deneme 1 2
Test page for docs


Very nice :-)<br>
Testing email notification yet again
<strong>Moodle is Great!</strong><br>


-Testing-


'''== אחת שתיים שלו ארבע
==== Headline text ==== Headline text =='''Bold text''''''


====bbbbbb====
{| cellpadding="2" cellspacing="0" border="1"
[[Table]]
!Col1
$$ x^2 $$
!Col2
|-
|Test1
|Test2
|-
|Test1
|Test2
|-
|Test1
|Test2
|}


== Headline of doom ==
==Functions and Examples==
<pre>
#include &lt;stdio.h&gt;


int main()
Following are the functions that constitute the basic log API for Moodle.
{
<code>
  printf("Hello Wiki!");
add_to_log($courseid, $module, $action, $url='', $info='', $cm=0, $user=0)
  return 0;
user_accesstime_log($courseid=0)
}
get_logs($select, array $params=null, $order='l.time DESC', $limitfrom='', $limitnum='', &$totalcount)
</pre>
get_logs_usercourse($userid, $courseid, $coursestart)
get_logs_userday($userid, $courseid, $daystart)
</code>
The basic working of these functions can be categorized into two categories:-
# Adding data to logs
# Fetching data from logs
Let us take a deeper look into both of these:-


==Aesthetic buggery to follow!==
<pre>something in pre tags</pre>
<hr size=5>
<code>and something in code tags</code>
<hr size=10>
<hr size=20> 
... well, that's too bad: <tt> I was expecting to be able to make larger headers! <i>[pout!]</i></tt>


:Interesting.  Don't know much about HTML but
<math>Insert formula here</math>==First edit in sandbox==
#remember this is a Mediawiki.  
An additional edit to sandbox
#When I want to try something off the beaten track in MoodleDocs, I [http://meta.wikimedia.org/wiki/Help:Editing#Templates start here with a search on editing tips].
This is where you can edit the content.
#Since I am a clutz, I created a web page using a word processor.  Then opened my browser and revealed the page code.  Then placed it below.  So you can make larger headers several ways. chris collman
Another edit to sandox.
::see examples below
One more edit to sandbox


==<span style='font-size:26.0pt'>This is 26.opt test</span>==
==Testing gallery==
==Testing gallery==8/11
==Testing gallery==8/11 again
<gallery mode="packed-hover">
File:Atto_27.jpg|Atto
File:Clean27.jpg|Clean
File:MathJax.jpg|MathJax
</gallery>


Notice it still is a header just not the default font
==Bootstrap stuff==


===This is a 3rd level - a little smaller===
<div class="alert alert-block"><span class="close" data-dismiss="alert">&times;</span>'''Warning!''' Click the cross to close this label ...</div>
 
====This is a 3rd level header - Probably no difference====
[[de:Hauptseite]]
 
[[es:Zona de Pruebas]]
== Headline text ==
 
Martha is a radical
 
=Is a 1st level header - the larger header topic=
 
just to see what would happen
 
=<span style='font-size:40.0pt'>This  is a 400.opt font test</span>
 
Hmm...
 
[[fr:Bac à sable]]
 
Just testing it out!
 
Seems OK!

Latest revision as of 14:15, 13 May 2016

Test page for docs

Testing email notification yet again

-Testing-


Col1 Col2
Test1 Test2
Test1 Test2
Test1 Test2

Functions and Examples

Following are the functions that constitute the basic log API for Moodle.

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)

The basic working of these functions can be categorized into two categories:-

  1. Adding data to logs
  2. Fetching data from logs

Let us take a deeper look into both of these:-

something in pre tags

and something in code tags

==First edit in sandbox== An additional edit to sandbox This is where you can edit the content. Another edit to sandox. One more edit to sandbox

Testing gallery

==Testing gallery==8/11 ==Testing gallery==8/11 again

Bootstrap stuff

×Warning! Click the cross to close this label ...