Questions tagged [namespace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
68 views

Namespace class of component not found in script.php during clean install of component

in file script.php of component made for Joomla! 4.0-beta2-dev the namespace isn't found : Class 'Kunena\Forum\Libraries\Install\KunenaModelInstall' not foundClass The changes in script.php : https://...
0
votes
1answer
37 views

Library with namespace and autoloader example

I want to make a namespace for my Joomla components, but I can't find a clear example. I want to declare multiple classes in my namespace and use autoloading. For example: namespacebas\xml ...
0
votes
0answers
39 views

Load namespaced library from component in J!4

I'm using the latest build of J!4. I have a component that has library files under joomla_root\libraries\mycomponent but the namespaced files in this directory aren't loaded by Joomla! 4 autoloader. ...
2
votes
1answer
106 views

Joomla 4 namespacing and autoloading

I've added the namespace line to my manifest xml: <namespace>Mycompany\Component\Mycomponent</namespace> When I install the component, I'm not seeing any alias added to the libraries/...