Oracle9iAS Portal Developer Kit

is_valid_http_language function

Contained in package wwnls_api.

Call this function to determine whether a given HTTP language abbreviation is valid.

procedure is_valid_http_language

(

p_http_language varchar2

);

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

p_http_language

An HTTP language abbreviation.

Example: 'en-us'

Datatype: varchar2

Returns:

This function returns true if the abbreviation is valid, otherwise false.

Exceptions:

This function raises no user-defined exceptions.

Example:

if wwnls_api.is_valid_http_language(

p_http_language => 'en-us'

)

then

.
.
.

end if;

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio