Versions Compared

Key

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

...

Code Block
languagephp
themeRDark
firstline1
titleConfiguration Class Code
 class Config
{

    public static $PDF = array(
			"ACCESS" => "YOUR ACCESS KEY",
			"SECRET" => "YOUR SECRET ACCESS KEY"
    );

    public static $CONTACT_EMAIL = "support@blinkmobile.com.au";

    public static function handleErrors($t, $interaction, $errors)
    {
        $body = "<pre>" . print_r($errors, 1) . "</pre>";
        $t->email(self::$CONTACT_EMAIL, $interaction, $body);
    }
}

 

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

 

Upload to Blink Mobility Platform:

...

    1. Login to you BlinkMobile answerSpace administration area
    2. Create a new MADL interaction, and name it: Config.class.php
      (note the capital C)
    3. Save your interaction. 

 

...

PDF.class.php

Configuration:

You don't need to modify this file.

...

    1. Login to you BlinkMobile answerSpace administration area
    2. Create a new MADL interaction, and name it: Analytics Pdf.class.php
      (note the capital CP)
    3. Save your interaction. 

 

...