static public $api_cfg = array( 'host' => '', 'sid' => "", 'appkey' => "", 'appsecret' => "", 'predir' => "", ); $req = array('sid' => self::$api_cfg['sid'], 'appkey' => self::$api_cfg['appkey'], 'timestamp' => time()); $req = array_merge($req, $req_params);