value pairs for airtime.conf protected static $_properties; // Message and error fields to return to the front-end static $message = null; static $errors = array(); function __construct($settings) { self::$_properties = array( "api_key" => $this->generateRandomString(), "base_url" => $settings[self::GENERAL_HOST], "base_port" => $settings[self::GENERAL_PORT], ); } /** * @return array associative array containing a display message and fields with errors */ function runSetup() { // TODO Do we need to validate these settings? if (count(self::$errors) <= 0) { $this->writeToTemp(); } return array( "message" => self::$message, "errors" => self::$errors ); } }