The TViwere tool is a generic tool to be used to provision any DB table - the tool can be derived and customized (via the local.inc.php configuration file) to any table format.
It provides standard DB operations (add, edit, delete, view) for a table (with data validation). It also allow to have attached the triggering of an Management Inteface command.
The configuration file (see below) contains a comprehensive description on how to configure the tviewer tool on top of any kind of custom sql table, with different custom views and operations over records and columns.
Database layer configuration file :
opensips-cp/config/tools/system/tviewer/db.inc.php
Attributes set in this file :
Local configuration file :
opensips-cp/config/tools/system/tviewer/local.inc.php
Please read the file for comprehensive decription of the configuration options.