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

Jump to: navigation, search
Line 1: Line 1:
 +
I produced this as an at-a-glance reference for use when writing a plugin renderer.
 +
It covers all the methods of `html_writer` (in blue), all of the methods provided by the `$OUTPUT` global or `$this->output` in a plugin renderer (in yellow), and the APIs for displaying tables. The sheet fits on 2 sides of A4, is displayed below as PNGs or is downloadable as [[File:output_cheatsheet.pdf|PDF]]
 +
 
[[Image:output_cheatsheet_side1.png|Output Cheatsheet Side 1]]
 
[[Image:output_cheatsheet_side1.png|Output Cheatsheet Side 1]]
 
[[Image:output_cheatsheet_side2.png|Output Cheatsheet Side 2]]
 
[[Image:output_cheatsheet_side2.png|Output Cheatsheet Side 2]]
[[File:output_cheatsheet.pdf|Output Cheatsheet PDF]]
 

Revision as of 08:04, 16 April 2012

I produced this as an at-a-glance reference for use when writing a plugin renderer. It covers all the methods of `html_writer` (in blue), all of the methods provided by the `$OUTPUT` global or `$this->output` in a plugin renderer (in yellow), and 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