/** * Initialize preferences * * @access public * @param array * @return void */ function initialize($config = array()) { extract($config); if (!empty($access_key) and !empty($secret_key)) { self::setAuth($access_key, $secret_key); } self::$use_ssl = $use_ssl; self::$verify_peer = $verify_peer; }