User:Mark Johnson/Output Components Cheatsheet: Difference between revisions
From MoodleDocs
Mark Johnson (talk | contribs) No edit summary |
Mark Johnson (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
I produced this as an at-a-glance reference for use when writing a plugin renderer. | I produced this as an at-a-glance reference for use when writing a plugin renderer. | ||
In yellow, it shows all the methods of <tt>html_writer</tt>, 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/apps/files_sharing/get.php?token=67ee333cc8ab326f64c237487e43ad84941ff001&path=/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]] |
Revision as of 08:08, 16 April 2012
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, 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