protected static function set_url_request($request) { if (isset($request['action']) and is_string($request['action']) and isset($request['method']) and is_string($request['method']) and isset($request['params']) and is_array($request['params'])) { self::$url_request = $request; } }