Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes | Variables
outputfactories.php File Reference

Interface and classes for creating appropriate renderers for various parts of Moodle. More...

Classes

interface  renderer_factory
 
class  renderer_factory_base
 
class  standard_renderer_factory
 
class  theme_overridden_renderer_factory
 

Variables

const RENDERER_TARGET_AJAX 'ajax'
 Plain text rendering for Ajax scripts.
 
const RENDERER_TARGET_CLI 'cli'
 Plain text rendering for CLI scripts and cron.
 
const RENDERER_TARGET_GENERAL 'general'
 General rendering target, usually normal browser page.
 
const RENDERER_TARGET_HTMLEMAIL 'htmlemail'
 Rich text html rendering intended for sending via email.
 
const RENDERER_TARGET_MAINTENANCE 'maintenance'
 General rendering target, usually normal browser page, but with limited capacity to avoid API use.
 
const RENDERER_TARGET_TEXTEMAIL 'textemail'
 Plain text rendering intended for sending via email.
 

Detailed Description

Interface and classes for creating appropriate renderers for various parts of Moodle.

Please see http://docs.moodle.org/en/Developement:How_Moodle_outputs_HTML for an overview.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later