|
get_value_as_number function |
|
Contained in package wwpre_api_value. Call this function to get the preference value as a number. Note: For details about returning preference values, see About preference values. function get_value_as_number (
) return number; |
|
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 |
|
Returns: This function returns the number value of a specified preference. It returns null if there is no value, or if the preference name is not found. Exceptions:
Example: This example returns the value based on the inherit mechanism. l_number_value := wwpre_api_value.get_value_as_number (
); |
|
|
The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio |