File "modules.php"
Full Path: /home/jlklyejr/public_html/wp-content-20241030122153/plugins/woo-currency/classes/tables/modules.php
File size: 1 KB
MIME-type: text/x-php
Charset: utf-8
<?php
class tableModulesWcu extends tableWcu {
public function __construct() {
$this->_table = '@__modules';
$this->_id = 'id'; /*Let's associate it with posts*/
$this->_alias = 'wcu_m';
$this->_addField('label', 'text', 'varchar', 0, __('Label', WCU_LANG_CODE), 128)
->_addField('type_id', 'selectbox', 'smallint', 0, __('Type', WCU_LANG_CODE))
->_addField('active', 'checkbox', 'tinyint', 0, __('Active', WCU_LANG_CODE))
->_addField('params', 'textarea', 'text', 0, __('Params', WCU_LANG_CODE))
//->_addField('has_tab', 'checkbox', 'tinyint', 0, __('Has Tab', WCU_LANG_CODE))
//->_addField('description', 'textarea', 'text', 0, __('Description', WCU_LANG_CODE), 128)
->_addField('code', 'hidden', 'varchar', '', __('Code', WCU_LANG_CODE), 64)
->_addField('ex_plug_dir', 'hidden', 'varchar', '', __('External plugin directory', WCU_LANG_CODE), 255);
}
}