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

Joomla! 5.x Coding • Re: Update user and undefined array key

$
0
0
IThat Helper appears to be for managing groups in general as opposed to a users group, and does it require loading another helper? I have not used it before.

I'm looking to replace any current group assignment for this user with "registered" and set the block status to 0. It seems to me this would be updating the user, correct?

You did lead me to take another look at the API and perhaps this is my answer in the User class (I think I was looking for other methods and did not examine save more closely):
save

Method to save the User object to the database

save( updateOnly = false) :

Statistics: Posted by neo314 — Sun Feb 25, 2024 6:45 pm



Viewing all articles
Browse latest Browse all 2165

Trending Articles



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