Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
any pccCreate ( string area )

Parameters

ParameterDescription

area

The name of the area which the function is operating against.

Returns:

A data set object that can be used with the pccGetUdr or pccGetUdrList functions.


Info
titleExample


Code Block
pccCreate("PROD");

will create a data set object that can be used with the pccGetUdr and pccGetUdrList functions against the PROD area.

...

Code Block
drudr pccGetUdr ( string typename, any key [, any dataset] )

Parameters

ParameterDescription

typename

The fully qualified typename of the requested UDR.

key

The reference to the requested UDR

dataset

The data set object that you want to use for retrieving the UDR. This field is optional, and if it is not used, the data set that was used last will be used for the retrieval.

Returns:

The matching UDR or null if no matching UDR was found.


Info
titleExample


Code Block
pccGetUdr("PCRF.Rules.Provisioning.Static_Rule", 333);

will retrieve a UDR of the type PCRF.Rules.Provisioning.Static_Rule with the key 333.

...

Code Block
list <drudr> pccGetUdrList ( string typename [, any dataset] )

Parameters

ParameterDescription

typename

The fully qualified UDR typename of the requested UDRs.

dataset

The data set object that you want to use for retrieving the UDRs. This field is optional, and if it is not used, the data set that was used last will be used for the retrieval.

Returns:

A list containing all the UDRs of the requested type.


Info
titleExample


Code Block
list<drudr> rulesList = pccGetUdrList(ruleType);

will return a list named rulesList with all the UDRs that have the type ruleType.

Scroll pagebreak