Questions tagged [namespace]
The namespace tag has no usage guidance.
6
questions
0
votes
1answer
61 views
How to check an extension is namespaced?
I'm working on namespaced templates feature and I came to the point where I need to check if an extension is namespaced or not.
One possibility would be to load the templateDetails.xml file and check ...
0
votes
1answer
24 views
Set and Retrieve Array in Joomla Session Namespace [closed]
I have the need to use a namespace in session, so I am using the following to set the session:
$session = JFactory::getSession();
$customOrder['items'][] = $itemArray;
$session->set("order&...
1
vote
0answers
94 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
53 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
45 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
180 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/...