Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2179

Joomla! 5.x Coding • Use third componet's class in my cli application

$
0
0
Hello,
I am trying to develop a plugin to import data from an external service to IGagenda Event manager. The plugin runs from CLI.

At a point after I got external data I am trying to collaborate with ICagenda and I have to use same of it's classes.

I import these classes for example like this:

use iCutilities\Event\Event as icagendaEvent;

and later when I try to use it like this

icagendaEvent::getNextDate

I get error:

Class "iCutilities\Event\Event" not found

Any help is appreciated.

Statistics: Posted by christoforosKor — Fri Mar 22, 2024 11:14 am



Viewing all articles
Browse latest Browse all 2179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>