File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 11Namespace
22=========
33Description of the namespace concept
4+
45:::caution TODO
56
67This page is unfinished, please use the ** Edit this Page** link at the bottom of this page to help make it more useful.
78
89:::
10+
11+ Namespaces for Templates
12+ ------------------------
13+
14+ The namespace is used for autoloading helper classes located in the folder provided
15+ in the path attribute of the manifest xml file.
16+
17+ Suggest Namespace:
18+ XML: ` Vendorname\Template\TemplateName ` Path Attribute: ` src `
19+ PHP: ` Vendorname\Template\TemplateName\Site ` Location: ` templates/TemplateName/src `
Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ New features
66===============
77All the new features that have been added to this version.
88Any changes in best practice.
9+
10+
11+ Support Namespace for Templates
12+ -------------------------------
13+
14+ Starting with Joomla! 4.3 it's possible to set a namespace for the template. This
15+ namespace is used for autoloading helper classes located in the folder provided
16+ in the path attribute of the manifest xml file.
17+
18+ Suggest Namespace:
19+ XML: ` Vendorname\Template\TemplateName ` Path Attribute: ` src `
20+ PHP: ` Vendorname\Template\TemplateName\Site ` Location: ` templates/TemplateName/src `
21+
922:::caution TODO
1023
1124This page is unfinished, please use the ** Edit this Page** link at the bottom of this page to help make it more useful.
You can’t perform that action at this time.
0 commit comments