\FoxyCart_Helper
FoxyCart_Helper.
- Author: FoxyCart.com
- Copyright: FoxyCart.com LLC, 2011
- License: MIT http://opensource.org/licenses/MIT
Synopsis
class FoxyCart_Helper
{
- // members
- private static $secret;
- protected static $cart_url;
- protected static array $cart_excludes = ;
- protected static array $cart_excludes_prefixes = ;
- protected static boolean $debug = false;
- protected static array $log = ;
- // methods
- public static void setCartURL()
- public static void setSecret()
- public void __construct()
- public static void getSecret()
- public static string fc_hash_querystring()
- public static string fc_hash_value()
- public static string fc_hash_html()
Members
private
- $secret
—
string
API Key (Secret).
protected
- $cart_excludes
—
array
Cart Excludes. - $cart_excludes_prefixes
- $cart_url
-
$debug
Debugging. - $log
Methods
public
- __construct()
- fc_hash_html() — Raw HTML Signing: Sign all links and form elements in a block of HTML.
- fc_hash_querystring() — "Link Method": Generate HMAC SHA256 for GET Query Strings.
- fc_hash_value() — "Form Method": Generate HMAC SHA256 for form elements or individual <input />s.
- getSecret()
- setCartURL()
- setSecret()