DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:autoloader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:autoloader [2016-11-08 16:26]
andi [Namespaces]
devel:autoloader [2016-11-08 16:27] (current)
andi [Autoloader]
Line 3: Line 3:
 DokuWiki registers its own autoloader early on in [[xref>inc/load.php]]. When developing plugins you nearly never need to require any other files yourself. DokuWiki registers its own autoloader early on in [[xref>inc/load.php]]. When developing plugins you nearly never need to require any other files yourself.
  
-Plugins components are automatically recognized by their naming scheme and [[plugin_file_structure|file_structure]]. However those should always be loaded via [[xref>plugin_load()]]. +Plugin components are automatically recognized by their naming scheme and [[plugin_file_structure|file_structure]]. However those should always be loaded via [[xref>plugin_load()]]. 
  
 If you need additional classes, simply use the appropriate namespace as outlined below. If you need additional classes, simply use the appropriate namespace as outlined below.
devel/autoloader.txt ยท Last modified: 2016-11-08 16:27 by andi