Scf Viper Module
Viper Methods
Global Viper Method | Description |
---|---|
Scf.Behavior.Attach Viper Method | Attaches the given behavior to the given jQuery selector. |
Scf.ClientVar Viper Method | Gets a string that can be used as identifier of a Javascript client variable. |
Scf.Events.Exists Viper Method | Checks whether an event with the given name has been sent. |
Scf.Events.Receive Viper Method | Gets the event data sent earlier as a DataTable. |
Scf.Events.ReceiveValue Viper Method | Gets a single value from event data sent earlier. |
Scf.Events.Send Viper Method | Triggers an event with the given event data. |
Scf.GetCommand Viper Method | Gets the value of an Scf Request command (hid=scf;...) as passed through the querystring. |
Scf.Includes.AddFolder Viper Method | Adds the includes in the given folder, located using the given root item and sub path (specified as a '/'-delimited title path). |
Scf.Includes.Global.Add Viper Method | Adds all global includes of the given type to the corresponding placeholder. |
Scf.Includes.Global.Get Viper Method | Gets a DataTable with the global includes of the given type. |
Scf.Includes.Global.ModifiedDate Viper Method | Gets the last modified date of the global includes of the given type. |
Scf.Includes.Merge Viper Method | Returns true if Scf include merging is on. |
Scf.Includes.ProcessAggregatedCssImports Viper Method | Processes aggregated CSS by moving @import statements to the top, or expanding them in place.Rules: if mode=Expand, the @import statement will still be moved to the top if not pointing to a local file or item, or when media argument is specified. |
Scf.Includes.Static.ModifiedDate Viper Method | Gets the last modified date of the aggregated static file includes in /Scf/jQuery/ subfolders. |
Scf.IsLoaded Viper Method | Determines whether the Smartsite Client Framework is currently loaded. |
Scf.Script.Enabled Viper Method | Determines whether scripting is enabled in the client. |
Scf.Script.EnabledState Viper Method | Client script enabled state.Determined by having the jQuery.Scf layer setting a cookie named '_sce' to '1'.If no cookie is found, state will be Unknown. |
Scf.Script.jQuery Viper Method | Gets the variable name referring to the jQuery. |
Scf.Script.Minify Viper Method | Minifies a javascript file. |
Scf.SelectMinifiedInclude Viper Method | If running in a debugger or hosted in the TestSuite, returns the non-minified location of the given url.For local files, .debug is inserted just before the file extension: /path/file.debug.js (if that file exists).For urls, the querystring variable hid=scf;minify=0 is set. |
Scf.ToJavascript Viper Method | Converts a value to its javascript representation, quoted if needed. |
See Also
-
Scf.Behavior.Attach Viper Method
Attaches the given behavior to the given jQuery selector. -
Scf.ClientVar Viper Method
Gets a string that can be used as identifier of a Javascript client variable. -
Scf.Events.Exists Viper Method
Checks whether an event with the given name has been sent. -
Scf.Events.Receive Viper Method
Gets the event data sent earlier as a DataTable. -
Scf.Events.ReceiveValue Viper Method
Gets a single value from event data sent earlier. -
Scf.Events.Send Viper Method
Triggers an event with the given event data. -
Scf.GetCommand Viper Method
Gets the value of an Scf Request command (hid=scf;...) as passed through the querystring. -
Scf.Includes.AddFolder Viper Method
Adds the includes in the given folder, located using the given root item and sub path (specified as a '/'-delimited title path). -
Scf.Includes.Global.Add Viper Method
Adds all global includes of the given type to the corresponding placeholder. -
Scf.Includes.Global.Get Viper Method
Gets a DataTable with the global includes of the given type. -
Scf.Includes.Global.ModifiedDate Viper Method
Gets the last modified date of the global includes of the given type. -
Scf.Includes.Merge Viper Method
Returns true if Scf include merging is on. -
Scf.Includes.ProcessAggregatedCssImports Viper Method
Processes aggregated CSS by moving @import statements to the top, or expanding them in place.Rules: if mode=Expand, the @import statement will still be moved to the top if not pointing to a local file or item, or when media argument is specified. -
Scf.Includes.Static.ModifiedDate Viper Method
Gets the last modified date of the aggregated static file includes in /Scf/jQuery/ subfolders. -
Scf.IsLoaded Viper Method
Determines whether the Smartsite Client Framework is currently loaded. -
Scf.Script.Enabled Viper Method
Determines whether scripting is enabled in the client. -
Scf.Script.EnabledState Viper Method
Client script enabled state.Determined by having the jQuery.Scf layer setting a cookie named '_sce' to '1'.If no cookie is found, state will be Unknown. -
Scf.Script.jQuery Viper Method
Gets the variable name referring to the jQuery. -
Scf.Script.Minify Viper Method
Minifies a javascript file. -
Scf.SelectMinifiedInclude Viper Method
If running in a debugger or hosted in the TestSuite, returns the non-minified location of the given url.For local files, .debug is inserted just before the file extension: /path/file.debug.js (if that file exists).For urls, the querystring variable hid=scf;minify=0 is set. -
Scf.ToJavascript Viper Method
Converts a value to its javascript representation, quoted if needed.
- 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.Behavior.Attach Viper Method
- Scf.ClientVar Viper Method
- Scf.Events.Exists Viper Method
- Scf.Events.Receive Viper Method
- Scf.Events.ReceiveValue Viper Method
- Scf.Events.Send Viper Method
- Scf.GetCommand Viper Method
- Scf.Includes.AddFolder Viper Method
- Scf.Includes.Global.Add Viper Method
- Scf.Includes.Global.Get Viper Method
- Scf.Includes.Global.ModifiedDate Viper Method
- Scf.Includes.Merge Viper Method
- Scf.Includes.ProcessAggregatedCssImports Viper Method
- Scf.Includes.Static.ModifiedDate Viper Method
- Scf.IsLoaded Viper Method
- Scf.Script.Enabled Viper Method
- Scf.Script.EnabledState Viper Method
- Scf.Script.jQuery Viper Method
- Scf.Script.Minify Viper Method
- Scf.SelectMinifiedInclude Viper Method
- Scf.ToJavascript Viper Method
- 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 Viper Class
- Url Viper Class
- User Viper Class
- UserItemFeedback Viper Class
- Xml Viper Class
- Local Viper Methods
-
Global Viper Methods
- SXML Data Types
- Examples
- Tips & Tricks