library/Garp/Service/MailChimp.php
protected function _getApiKey() {
        $ini = Zend_Registry::get('config');
        if (!$apiKey = $ini->mailchimp->apiKey) {
            throw new Garp_Service_MailChimp_Exception('No API key was given, nor found in application.ini');
        }
        return $apiKey;
    }
protected function _getApiKey() {
        $ini = Zend_Registry::get('config');
        if (!$apiKey = $ini->mailchimp->apiKey) {
            throw new Garp_Service_MailChimp_Exception('No API key was given, nor found in application.ini');
        }
        return $apiKey;
    }
protected function _getApiKey ( ) { $ ini = Zend_Registry :: get ( 'config' ) ; if ( ! $ apiKey = $ ini -> mailchimp -> apiKey ) { throw new Garp_Service_MailChimp_Exception ( 'No API key was given, nor found in application.ini' ) ; } return $ apiKey ; }
Get API key from ini file
@return String
Get API key from ini file