/** * return a string stating the api status * @return String */ public function getAPIStatusString() { $kraken = new KrakenService(); if ($kraken->getAPIStatus()) { return _t('Kraken.API_OKAY', '_Your credentials are valid'); } else { return _t('Kraken.API_PROBLEM', '_There is a problem with your credentials'); } }