Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Documentation/Autoloading/LegacyMode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* Guideline for autoloading in Typo3 Legacy Mode

Following steps will use to autoload class in typo3 Legacy mode.

* Step 1: Put any PHP Library or SDK in Extension's Classes directory
* Step 2: In `ext_emconf.php` add following code in key `autoload`
* ``'autoload' => [
'classmap' => ['Classes/']
]``
* Step 3: Do Typo3 dumpautoload and cache Clear

***
* Following Reference are for autoloading
* Ref 1: https://www.youtube.com/watch?v=p_Ll2mKkz70&t=634s
* Ref 2: https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/Autoloading/Index.html
* Ref 3 : https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ExtensionArchitecture/FileStructure/ExtEmconf.html#extension-declaration
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@

1. `ddev start`
2. `touch .Build/public/FIRST_INSTALL`

* [Documentation of Legacy mode Autoloading](Documentation/Autoloading/LegacyMode.md)