• Payment Plugins Poll

    We need your feedback on the need for updated payment plugins. Please go here and give us your feedback.

  • Joomla 5.1

    For running J!5.1 you must install Fabrik 4.1
    See also Announcements

  • Subscription and download (Fabrik 4.1 for J!4.2+ and J!5.1) are working now

    See Announcement
    Please post subscription questions and issues here

    We have resolved the issue with the J! updater and this will be fixed in the next release.

List PHP plugin - accessing the selected rows data

GabPag

New Member
Hi,

In List PHP plugin, accessing the selected rows data with the code:

$ids = $app->input->get('ids', array(), 'array');

return this error:
Debug: Eval exception : list php plugin : Since joomla/application 2.0.0: Accessing the input property of Joomla\Application\AbstractWebApplication is deprecated, use the Joomla\Application\AbstractWebApplication::getInput() method instead.

Using:

$app->getInput()->get('myparam',...);

doesn't work. How can I chage the code?


Thank you!
 
Deprecated messages are only notices, only shown with system debug on.

But
$app->getInput()->get('ids', array(), 'array');
is working.
(WIKI example code is updated now).
 

Members online

No members online now.
Back
Top