예제 #1
0
 public function testGetWebsiteGroupStore()
 {
     $this->assertEquals('1--', $this->_model->getWebsiteGroupStore());
     $this->_model->setGroupId(123);
     $this->_model->setStoreId(456);
     $this->assertEquals('1-123-456', $this->_model->getWebsiteGroupStore());
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function getWebsiteGroupStore()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getWebsiteGroupStore');
     if (!$pluginInfo) {
         return parent::getWebsiteGroupStore();
     } else {
         return $this->___callPlugins('getWebsiteGroupStore', func_get_args(), $pluginInfo);
     }
 }