示例#1
0
 /**
  * Returns the list of related targets
  *
  * @param string $target Target name
  *
  * @return array
  */
 public function getRelatedTargets($target)
 {
     $targets = parent::getRelatedTargets($target);
     if ('payment_settings' == $target) {
         $targets[] = 'moneybookers_settings';
     }
     return $targets;
 }
示例#2
0
 /**
  * Returns the list of related targets
  *
  * @param string $target Target name
  *
  * @return array
  */
 public function getRelatedTargets($target)
 {
     $targets = parent::getRelatedTargets($target);
     if ('shipping_methods' == $target) {
         $targets[] = 'usps';
     }
     return $targets;
 }
示例#3
0
 /**
  * Returns the list of related targets
  *
  * @param string $target Target name
  *
  * @return array
  */
 public function getRelatedTargets($target)
 {
     $targets = parent::getRelatedTargets($target);
     if ('profile_list' == $target) {
         $targets[] = 'saved_cards';
     }
     return $targets;
 }
示例#4
0
 /**
  * Returns the list of related targets
  *
  * @param string $target Target name
  *
  * @return array
  */
 public function getRelatedTargets($target)
 {
     $result = parent::getRelatedTargets($target);
     if ('payment_settings' === $target) {
         $result[] = 'paypal_settings';
         $result[] = 'paypal_credit';
     }
     return $result;
 }