Ejemplo n.º 1
0
 function store($updateNulls = false)
 {
     if (isset($this->preparePrint) && $this->preparePrint == 1) {
         throw new Exception('Error jshopUserShop::store()');
     }
     $tmp = $this->percent_discount;
     unset($this->percent_discount);
     JDispatcher::getInstance()->trigger('onBeforeStoreTableShop', array(&$this));
     $res = parent::store($updateNulls);
     $this->percent_discount = $tmp;
     return $res;
 }
Ejemplo n.º 2
0
 function __construct()
 {
     $db = JFactory::getDBO();
     parent::__construct($db);
 }