예제 #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
파일: AAdmin.php 프로젝트: kewaunited/xcart
 /**
  * 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;
 }