Hello,
I have developed my super-duper
security plugin (ported, re-writhed from my prestashop module).
This plugin can detect bots, unwanted emails, spam, etc... Can ban IP and email addresses and provide full $_SERVER info about connection.
In OsClass I use it for filtering contact publisher and site contact, send to friend form, comments, login/register attempts counts and bot detection...
Plugin have setting and use 2 db tables. One for 'bad' words, texts, etc... for triggering spam messages. Second table to log and manage connections.
thanks to this plugin I no needed captcha or recaptcha and my site absolutely independent of google or some third-party script.
So I need to display those tables in plugin settings. I need use pagination and record add/edit functions.
Now I use phpMyAdmin to manage tables. In prestashop we have objectmodel class with full support of model like table with pagination and no need datatables.
I can just connect libs from datatables.net , but I see some like Native osclass abstract class DataTable in /oc-includes/osclass/classes/datatables
We can create own classes like class ActionsDataTable extends DataTable, but I don't quite understand how the display data on settings page works.
Can some provide example or docs how to use this class in plugin?