Browse Source

docs: add brief autoloading help page, fix smarty3 help page name

pull/2334/head
Fabrixxm 6 years ago
parent
commit
45c4e3455e
  1. 2
      doc/Home.md
  2. 17
      doc/autoloader.md
  3. 0
      doc/smarty3-templates.md

2
doc/Home.md

@ -47,8 +47,10 @@ Friendica Documentation and Resources
* [Theme Development](help/themes)
* [Smarty 3 Templates](help/smarty3-templates)
* [Database schema documantation](help/database)
* [Class Autoloading](help/autoloader)
* [Code - Reference(Doxygen generated - sets cookies)](doc/html/)
**External Resources**
* [Main Website](http://friendica.com)

17
doc/autoloader.md

@ -0,0 +1,17 @@
Autoloader
==========
* [Home](help)
There is some initial support to class autoloading in Friendica core.
The autoloader code is in `include/autoloader.php`.
It's derived from composer autoloader code.
Namespaces and Classes are mapped to folders and files in `library/`,
and the map must be updated by hand, because we don't use composer yet.
The mapping is defined by files in `include/autoloader/` folder.
Currently, only HTMLPurifier library is loaded using autoloader.

0
doc/snarty3-templates.md → doc/smarty3-templates.md

Loading…
Cancel
Save