Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
outputfactories.php File Reference

Classes

interface  renderer_factory
 A renderer factory is just responsible for creating an appropriate renderer for any given part of Moodle. More...
 
class  renderer_factory_base
 This is a base class to help you implement the renderer_factory interface. More...
 
class  standard_renderer_factory
 This is the default renderer factory for Moodle. More...
 
class  theme_overridden_renderer_factory
 This is renderer factory allows themes to override the standard renderers using php code. More...
 

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.