/** * 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; }
/** * 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; }
/** * 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; }
/** * 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; }