Questions tagged [model]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
34 views

Joomla 4: ID state of last saved row not available via $this->getState($this->getName() . '.id')

So i have a strange effect when trying moving a MVC component of mine to Joomla 4. I could break it down to a very simple test. If you look at the \libraries\src\MVC\Model\AdminModel.php file around ...
1
vote
0answers
578 views

K2—load Items and Categories by ID

I am about to write a little plugin for K2 what enables the user to link Items/categories to items/categories. The backend part is working and I would like to load the items/categories in public ...
0
votes
0answers
898 views

Model/Controller: get id of current item and use it in controller

I got a view in my component's frontend, which catches data from model using the ID of the element: protected function populateState($ordering = null, $direction = null) { $app = ...