Exemplo n.º 1
0
 /**
  * Get payment method configuration page URL
  *
  * @param \XLite\Model\Payment\Method $method    Payment method
  * @param boolean                     $justAdded Flag if the method is just added via administration panel. Additional init configuration can be provided
  *
  * @return string
  */
 public function getConfigurationURL(\XLite\Model\Payment\Method $method, $justAdded = false)
 {
     return $this->getModule() && $this->getModule()->getModuleId() ? \XLite\Core\Converter::buildURL('xpc', '', array('section' => 'payment_methods')) : parent::getConfigurationURL($method, $justAdded);
 }