Translation Viper Module
Viper Methods
Global Viper Method | Description |
---|---|
Translation.Arg Viper Method | Returns the value of a translation argument.Valid only within the 'replacement' field in translation items.Index is 1-based. |
Translation.ArgCount Viper Method | Returns the number of unnamed arguments to the translation.Valid only within the 'replacement' field in translation items. |
Translation.Base Viper Method | Returns the contents of the translation the current translation overrides.Valid only within the 'replacement' field in translation items. |
Translation.Caller Viper Method | Gets the number of the calling translation. |
Translation.GetOutParameter Viper Method | Gets the given out parameter value.Valid only within the 'replacement' field in translation items. |
Translation.GetScope Viper Method | Returns the scope of the current translation.Valid only within the 'replacement' field in translation items. |
Translation.IsPreview Viper Method | Determines whether the current translation is being previewed using its own logic. |
Translation.Name Viper Method | Returns the name of the current translation.Valid only within the 'replacement' field in translation items. |
Translation.Number Viper Method | Returns the item number of the current translation.Valid only within the 'replacement' field in translation items. |
Translation.Return Viper Method | Returns immediately from a translation, with the given result.Note that standard replacement output of the translation will not be used when using translation.return(). You must use translation.setresult(), translation.setnullresult(), or the returnValue argument of translation.return(). |
Translation.SetNullResult Viper Method | Sets the current translation result to null, allowing the default parameter of the translation call to work.Valid only within the 'replacement' field in translation items. |
Translation.SetOutParameter Viper Method | Sets the given out parameter value.Valid only within the 'replacement' field in translation items. |
Translation.SetResult Viper Method | Sets the current translation result to the given value. Overrules the standard output a translation generates.Valid only within the 'replacement' field in translation items. |
See Also
-
Translation.Arg Viper Method
Returns the value of a translation argument.Valid only within the 'replacement' field in translation items.Index is 1-based. -
Translation.ArgCount Viper Method
Returns the number of unnamed arguments to the translation.Valid only within the 'replacement' field in translation items. -
Translation.Base Viper Method
Returns the contents of the translation the current translation overrides.Valid only within the 'replacement' field in translation items. -
Translation.Caller Viper Method
Gets the number of the calling translation. -
Translation.GetOutParameter Viper Method
Gets the given out parameter value.Valid only within the 'replacement' field in translation items. -
Translation.GetScope Viper Method
Returns the scope of the current translation.Valid only within the 'replacement' field in translation items. -
Translation.IsPreview Viper Method
Determines whether the current translation is being previewed using its own logic. -
Translation.Name Viper Method
Returns the name of the current translation.Valid only within the 'replacement' field in translation items. -
Translation.Number Viper Method
Returns the item number of the current translation.Valid only within the 'replacement' field in translation items. -
Translation.Return Viper Method
Returns immediately from a translation, with the given result.Note that standard replacement output of the translation will not be used when using translation.return(). You must use translation.setresult(), translation.setnullresult(), or the returnValue argument of translation.return(). -
Translation.SetNullResult Viper Method
Sets the current translation result to null, allowing the default parameter of the translation call to work.Valid only within the 'replacement' field in translation items. -
Translation.SetOutParameter Viper Method
Sets the given out parameter value.Valid only within the 'replacement' field in translation items. -
Translation.SetResult Viper Method
Sets the current translation result to the given value. Overrules the standard output a translation generates.Valid only within the 'replacement' field in translation items.
- Macro
- Macro Parameters
- Macro Parameter Properties
-
Vipers
-
Global Viper Methods
- AIM Viper Class
- Audit Viper Class
- Buffer Viper Class
- Cache Viper Class
- CacheFile Viper Class
- Calendar Viper Class
- Channel Viper Class
- Char Viper Class
- Cms Viper Class
- ContentType Viper Class
- Convert Viper Class
- Database Viper Class
- DataTable Viper Class
- DateTime Viper Class
- Debug Viper Class
- DigiD Viper Class
- Env Viper Class
- FileSystem Viper Class
- FlexLayout Viper Class
- Html Viper Class
- Html.Color Viper Class
- Html.Css Viper Class
- Image Viper Class
- ImageProperties Viper Class
- ItemComments Viper Class
- ItemData Viper Class
- License Viper Class
- Locale Viper Class
- Logging Viper Class
- Login Viper Class
- Math Viper Class
- Payment Viper Class
- Personalization Viper Class
- PlaceHolder Viper Class
- Poll Viper Class
- Publication Viper Class
- RenderTemplate Viper Class
- Request Viper Class
- Response Viper Class
- Scf Viper Class
- Security Viper Class
- Session Viper Class
- Site Viper Class
- Smartlet Viper Class
- SmartletEditor Viper Class
- SmartletPreset Viper Class
- Smi Viper Class
- SmiData Viper Class
- Spice Viper Class
- Sql Viper Class
- StandardsCompliance Viper Class
- Storage Viper Class
- String Viper Class
- SXML Viper Class
- Sys Viper Class
- Tags Viper Class
-
- Translation.Arg Viper Method
- Translation.ArgCount Viper Method
- Translation.Base Viper Method
- Translation.Caller Viper Method
- Translation.GetOutParameter Viper Method
- Translation.GetScope Viper Method
- Translation.IsPreview Viper Method
- Translation.Name Viper Method
- Translation.Number Viper Method
- Translation.Return Viper Method
- Translation.SetNullResult Viper Method
- Translation.SetOutParameter Viper Method
- Translation.SetResult Viper Method
- Url Viper Class
- User Viper Class
- UserItemFeedback Viper Class
- Xml Viper Class
- Local Viper Methods
-
Global Viper Methods
- SXML Data Types
- Examples
- Tips & Tricks