예제 #1
0
 /**
  * @param Payone_Settings_Data_ConfigFile_Shop $shopConfig
  * @param DOMElement $configXml
  * @return string
  */
 protected function mapShop(Payone_Settings_Data_ConfigFile_Shop $shopConfig, DOMElement $configXml)
 {
     $shopXml = $this->appendElement($configXml, $shopConfig->getKey());
     $this->addChild($shopXml, $shopConfig, 'code');
     $this->addChild($shopXml, $shopConfig, 'name', true);
     $shopXml = $this->mapSystem($shopConfig->getSystem(), $shopXml);
     $shopXml = $this->mapGlobal($shopConfig->getGlobal(), $shopXml);
     $shopXml = $this->mapClearingtypes($shopConfig->getClearingtypes(), $shopXml);
     $shopXml = $this->mapProtect($shopConfig->getProtect(), $shopXml);
     $shopXml = $this->mapMisc($shopConfig->getMisc(), $shopXml);
     return $shopXml;
 }