|
get_value_as_string function |
|
Contained in package wwpre_api_value. Call this function to get the preference value as a type-specific string. Notes:
function get_value_as_string (
) return string; |
|
Version: Oracle Portal 3.0.6.6.5 or later | |
|
Parameters: |
|
|
p_path |
The path for the preference name. Datatype: in varchar2 |
|
p_name |
The preference name. Datatype: in varchar2 |
|
p_level_type |
A constant value for the level at which the value is retrieved. Note: If a value is not specified for p_level_type, this function attempts to inherit the value, moving to each step if a value is not found:
Datatype:
in varchar2 |
|
p_level_name |
The user name or group name for the value to be retrieved. Notes:
Datatype:
in varchar2 |
|
p_language |
The language to load the type for the preference value. Datatype: in varchar2 |
|
Returns: This function returns the string value of a specified preference. It returns null if there is no value or if the preference name was not found. Exceptions:
Example: This example gets the value based on the inherit mechanism. l_varchar2_value := wwpre_api_value.get_value_as_string (
); |
|
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |