171 lines
7.4 KiB
PHP
171 lines
7.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* ObjectModel for htmlboxpro module table.
|
|
* @author MyPresta.eu | Milos "VEKIA" Myszczuk <support@mypresta.eu>
|
|
*/
|
|
class hbox extends ObjectModel
|
|
{
|
|
public $id;
|
|
public $position;
|
|
public $hook;
|
|
public $oconfirmation;
|
|
public $active;
|
|
public $logged;
|
|
public $name;
|
|
public $bssl;
|
|
public $shop;
|
|
public $homeonly;
|
|
public $specialsonly;
|
|
public $productsonly;
|
|
public $selectedproducts;
|
|
public $cmsonly;
|
|
public $selectedcms;
|
|
public $productscat;
|
|
public $selected_pcats;
|
|
public $productsman;
|
|
public $selected_pmanufs;
|
|
public $catsonly;
|
|
public $selected_cats;
|
|
public $manufsonly;
|
|
public $selected_manufs;
|
|
public $date;
|
|
public $datefrom;
|
|
public $dateto;
|
|
public $urlonly;
|
|
public $url;
|
|
public $cgroup;
|
|
public $hcgroup;
|
|
public $search;
|
|
public $query;
|
|
public $cmscatsonly;
|
|
public $selected_cmscats;
|
|
public $body;
|
|
public $supponly;
|
|
public $selected_supp;
|
|
public $tim;
|
|
public $timfrom;
|
|
public $timto;
|
|
public $poos;
|
|
public $pins;
|
|
public $onmobile;
|
|
public $ontablet;
|
|
public $onpc;
|
|
public $pmaxprice;
|
|
public $pmaxpricev;
|
|
public $pminprice;
|
|
public $pminpricev;
|
|
public $excats;
|
|
public $selected_excats;
|
|
public $exproducts;
|
|
public $exproductsall;
|
|
public $selected_exproducts;
|
|
public $daytype;
|
|
public $daytype_on;
|
|
public $currency_on;
|
|
public $currency;
|
|
public $geoip;
|
|
public $selected_geoip;
|
|
public $feat;
|
|
public $selected_feat;
|
|
public $cats_subcats_only;
|
|
public $selected_cats_subcats;
|
|
public $cartcategory_list;
|
|
public $cartcategory;
|
|
public $no_cartcategory_list;
|
|
public $no_cartcategory;
|
|
public $cartproduct_list;
|
|
public $cartproduct;
|
|
public $no_cartproduct_list;
|
|
public $no_cartproduct;
|
|
public $poos_allowed;
|
|
public $poos_deny;
|
|
public $prod_spec_price;
|
|
public $prod_spec_price_not;
|
|
|
|
public static $definition = array(
|
|
'table' => 'hbp_block',
|
|
'primary' => 'id',
|
|
'multilang' => true,
|
|
'fields' => array(
|
|
'id' => array('type' => ObjectModel :: TYPE_INT),
|
|
'position' => array('type' => ObjectModel :: TYPE_INT),
|
|
'hook' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'active' => array('type' => ObjectModel :: TYPE_INT),
|
|
'logged' => array('type' => ObjectModel :: TYPE_INT),
|
|
'name' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'bssl' => array('type' => ObjectModel :: TYPE_INT),
|
|
'shop' => array('type' => ObjectModel :: TYPE_INT),
|
|
'homeonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'specialsonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'productsonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selectedproducts' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'cmsonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selectedcms' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'productscat' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_pcats' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'productsman' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_pmanufs' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'catsonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_cats' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'manufsonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_manufs' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'date' => array('type' => ObjectModel :: TYPE_INT),
|
|
'datefrom' => array('type' => ObjectModel :: TYPE_DATE),
|
|
'dateto' => array('type' => ObjectModel :: TYPE_DATE),
|
|
'urlonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'url' => array('type' => ObjectModel :: TYPE_NOTHING),
|
|
'cgroup' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'hcgroup' => array('type' => ObjectModel :: TYPE_INT),
|
|
'search' => array('type' => ObjectModel :: TYPE_INT),
|
|
'query' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'oconfirmation' => array('type' => ObjectModel :: TYPE_INT),
|
|
'cmscatsonly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_cmscats' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'supponly' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_supp' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'tim' => array('type' => ObjectModel :: TYPE_INT),
|
|
'timfrom' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'timto' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'poos' => array('type' => ObjectModel :: TYPE_INT),
|
|
'poos_deny' => array('type' => ObjectModel :: TYPE_INT),
|
|
'prod_spec_price' => array('type' => ObjectModel :: TYPE_INT),
|
|
'prod_spec_price_not' => array('type' => ObjectModel :: TYPE_INT),
|
|
'poos_allowed' => array('type' => ObjectModel :: TYPE_INT),
|
|
'pins' => array('type' => ObjectModel :: TYPE_INT),
|
|
'onmobile' => array('type' => ObjectModel :: TYPE_INT),
|
|
'ontablet' => array('type' => ObjectModel :: TYPE_INT),
|
|
'onpc' => array('type' => ObjectModel :: TYPE_INT),
|
|
'pminprice' => array('type' => ObjectModel :: TYPE_INT),
|
|
'pminpricev' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'pmaxprice' => array('type' => ObjectModel :: TYPE_INT),
|
|
'pmaxpricev' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'body' => array('type' => ObjectModel :: TYPE_NOTHING, 'lang' => true),
|
|
'excats' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_excats' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'exproductsall' => array('type' => ObjectModel :: TYPE_INT),
|
|
'exproducts' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_exproducts' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'daytype' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'daytype_on' => array('type' => ObjectModel :: TYPE_INT),
|
|
'currency_on' => array('type' => ObjectModel :: TYPE_INT),
|
|
'currency' => array('type' => ObjectModel :: TYPE_INT),
|
|
'geoip' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'selected_geoip' => array('type' => ObjectModel :: TYPE_NOTHING),
|
|
'selected_feat' => array('type' => ObjectModel :: TYPE_NOTHING),
|
|
'feat' => array('type' => ObjectModel :: TYPE_NOTHING),
|
|
'cats_subcats_only' => array('type' => ObjectModel :: TYPE_INT),
|
|
'selected_cats_subcats' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'cartproduct' => array('type' => ObjectModel :: TYPE_INT),
|
|
'cartcategory_list' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'cartcategory' => array('type' => ObjectModel :: TYPE_INT),
|
|
'no_cartcategory_list' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'no_cartcategory' => array('type' => ObjectModel :: TYPE_INT),
|
|
'cartproduct_list' => array('type' => ObjectModel :: TYPE_STRING),
|
|
'no_cartproduct' => array('type' => ObjectModel :: TYPE_INT),
|
|
'no_cartproduct_list' => array('type' => ObjectModel :: TYPE_STRING),
|
|
),
|
|
);
|
|
|
|
}
|