コード例 #1
0
ファイル: PayPalStandard.php プロジェクト: forthrobot/inuvik
 /**
  * Provides the locale-aware checkout button URL.
  *
  * A common customization request is to swap the standard button image for something else and this
  * can be accomplished via the shopp_paypapstandard_buttonurl hook. It is the merchant's/implementing
  * developer's responsibility to comply with PayPal guidelines if they choose to do this.
  *
  * @author Jonathan Davis
  * @since 1.3
  *
  * @return string The URL of the "Checkout with PayPal"
  **/
 private function buttonurl()
 {
     $buttonurl = apply_filters('shopp_paypalstandard_buttonurl', sprintf(self::BUTTON, $this->locale()));
     return Shopp::force_ssl($buttonurl);
 }
コード例 #2
0
ファイル: Core.php プロジェクト: BlessySoftwares/anvelocom
/**
 * @deprecated Use Shopp::force_ssl()
 **/
function force_ssl($url, $rewrite = false)
{
    return Shopp::force_ssl($url, $rewrite);
}