ePages 6.10 - DE_EPAGES/TLE/API/WithHandler.pm

Package DE_EPAGES::TLE::API::WithHandler

Functions

WITH

WITH

Sets the context of the included template part. Throws an error if the context is not defined.

Syntax
#WITH(#Context) template #ENDWITH
Example
#WITH(#Basket.LineItemContainer)#GrantTotal[money]#ENDWITH
#IF(#Session.User.BillingAddress)
   #WITH(#Session.BillingAddress)
      Welcome #FirstName #LastName!
   #ENDWITH
#ENDIF
Input
#Context (hash)
hash or object providing the new context