Пример #1
0
 /**
   Transition mechanism. Auto-append store_id value
   if only a UPC has been specified.
 */
 public function load()
 {
     if (!isset($this->instance['store_id'])) {
         $config = FannieConfig::factory();
         $this->store_id($config->get('STORE_ID'));
     }
     return parent::load();
 }