ke Technical Documentation

Tuesday, February 22, 2011 Generic Pairs Init

Used to initialize a value which is not already initialized. The format of the function is as follows:

Function format: |KE_GENERIC_PAIRS_INIT(name=value,name=value,name)|

  • name - name of the parameter to consider (see example)

Available keywords:

  • |START_REMOVE_IF_NONE_value_from_list|
  • |END_REMOVE_IF_NONE_value_from_list|

Example:

|KE_GENERIC_PAIRS_INIT(TG_FREE_GIFT)|

|START_REMOVE_IF_NONE_TG_FREE_GIFT|
<input type="hidden" name="TG_FREE_GIFT" value="|VAL_TG_FREE_GIFT|" />
|END_REMOVE_IF_NONE_TG_FREE_GIFT|

In this example, the function is used to initiate the TG_FREE_GIFT, even if it has no value (was not initialized). If we don't use this function and TG_FREE_GIFT does not exist, the START_REMOVE_IF_NONE tags will not function, so the input will be shown.

back

Add a comment






Comments


jrEzuUxSYpCA