Пример #1
0
 protected function bind()
 {
     parent::bind();
     if ($this->plugins !== false) {
         $this->plugins = new stdClass();
         foreach ($this->config as $index => $configopt) {
             $cartPluginClassName = 'Sp4kAppsProduct' . ucfirst($index) . 'Plg';
             if (class_exists($cartPluginClassName)) {
                 $state = new Registry(['options' => $configopt]);
                 $this->plugins->{$index} = $cartPluginClassName::getInstance($this, $state);
             }
         }
     }
 }
Пример #2
0
 protected function bind()
 {
     parent::bind();
 }
Пример #3
0
 public function bind()
 {
     parent::bind();
 }