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

Joomla! 5.x Coding • Using the Joomla (not WEB Services) API.

$
0
0
i'm trying to develop a module that I can use to write updated introtext to an (obviously) existing article. Is it necessary to create the app using
$app = Factory::getApplication('admin'); // or something like admin?
Instead of just
$app = Factory::getApplication();
Or is it enough to create the module as a Admin module?

There seems to be a paucity of documentation of a lot of the details about how to use this API as I can find only a few simple sample code examples but a LOT of documentation on the use of the Web Services API. Have I not found the treasure trove of documentation that exists somewhere out there for the Joomla API or is the idea that we should not use that API anymore now that the Webservices API has been unleashed?

Statistics: Posted by davidascher — Fri Oct 25, 2024 2:24 pm



Viewing all articles
Browse latest Browse all 2274

Trending Articles



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