Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
themeRDark
firstline1
titleConfiguration Class Code
 class Config
{
//data
collection key     public static $ANALYTICS_COLLECTOR$PDF = array(
        			"ACCESS" => "#COLLECTOR_ACCESS_KEY#YOUR ACCESS KEY",
        			"SECRET" => "#COLLECTOR_SECRET_KEY#YOUR SECRET ACCESS KEY"
    );

    //data reporting, query building keypublic static $CONTACT_EMAIL = "support@blinkmobile.com.au";

    public static $ANALYTICS_ANALYST = array(
 function handleErrors($t, $interaction, $errors)
    {
 "ACCESS" => "#ANALYST_ACCESS_KEY#",       $body = "SECRET<pre>" =>. "#ANALYST_SECRET_KEY#"
    );print_r($errors, 1) . "</pre>";
       public static  $t->email(self::$CONTACT_EMAIL, = "#YOUR-EMAIL-HERE#";$interaction, $body);
    }
}

 

  1. Replace the #COLLECTOR_ACCESS_KEY# and the #COLLECTOR_SECRET_KEY# with the Collector API access and secret key we've provided.
  2. Replace the #ANALYST_ACCESS_KEY# and the #ANALYST_SECRET_KEY# with the Analyst API access and secret key we've provided.
  3. If you wish to use the built-in error checking method, then add your email address into the Contact Email line.

...