Example #1
0
 /**
  * Get array containing the public and private keys for accessing AmazonSDB
  * 
  * \note These can be retrieved through the Accounts panel of the AWS website.
  * 
  * Looks for ini settings below, or the constants AWS_KEY and AWS_SECRET_KEY
  * @code
  * [AWS]
  * key = "aaaa"
  * secret_key = "aaaaa"
  * @endcode
  * 
  * @return array
  *      2 elements to the array: [0] => public, [1] => private
  */
 private static function _GetAWSKeys()
 {
     $aws = Configuration::AWS();
     $key = $aws->key ?: self::_GetAWSKeyID();
     $secret_key = $aws->secret_key ?: self::_GetAWSSecretKey();
     return array($key, $secret_key);
 }