Note:

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

User:Mark Johnson/Output Components Cheatsheet: Difference between revisions

From MoodleDocs
(Created page with "Output Cheatsheet Side 1 Output Cheatsheet Side 2 [[File:output_cheatsheet_side1.svg|Output Cheatsheet...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:output_cheatsheet_side1.svg|Output Cheatsheet Side 1]]
I produced this as an at-a-glance reference for use when writing a plugin renderer.
[[Image:output_cheatsheet_side1.svg|Output Cheatsheet Side 2]]
In yellow, it shows all the methods of <tt>html_writer</tt>, and all of the methods provided by the <tt>$OUTPUT</tt> global (or <tt>$this->output</tt> in a plugin renderer). In blue, it shows the APIs for displaying tables. The sheet fits on 2 sides of A4, is displayed below as PNGs or is downloadable as [https://cloud.barrenfrozenwasteland.com/owncloud/index.php/s/JFuMvaGnlzhaqZH PDF]
[[File:output_cheatsheet_side1.svg|Output Cheatsheet PDF]]
 
[[Image:output_cheatsheet_side1.png|Output Cheatsheet Side 1]]
[[Image:output_cheatsheet_side2.png|Output Cheatsheet Side 2]]

Latest revision as of 09:39, 10 April 2015

I produced this as an at-a-glance reference for use when writing a plugin renderer. In yellow, it shows all the methods of html_writer, and all of the methods provided by the $OUTPUT global (or $this->output in a plugin renderer). In blue, it shows the APIs for displaying tables. The sheet fits on 2 sides of A4, is displayed below as PNGs or is downloadable as PDF

Output Cheatsheet Side 1 Output Cheatsheet Side 2