This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class ParentsModule |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class ParentsModule |
The type exposes the following properties.
Public Properties
Name | Description | |
---|---|---|
AcceptsInnerXml |
Returns true if the module currently accepts string data within the macro tags.
(Inherited from BaseModule.) |
|
AccessDeniedReturnValue |
Gets or sets the value that is returned when the site visitor has insufficient access.
(Inherited from Module.) |
|
AIMMode |
Gets or sets the AIM scanning mode of the macro.
(Inherited from Module.) |
|
AIMOrigin |
Returns the current AIM source.
If AIMMode is Autonomous, the current instructionsource is used, otherwise the current item.
(Inherited from Module.) |
|
BufferNames |
Gets or sets the buffer names.
(Inherited from Module.) |
|
Condition |
Gets or sets the Viper expression to evaluate before actually executing the macro. (Inherited from Module.)If the expression returns false, the execution of the module and its child modules is skipped. |
|
ConditionMatched |
Must return true if TestCondition() matched.
(Inherited from Module.) |
|
CurrentCacheModule |
Returns a reference to the current cache module, if the current instruction is encapsulated by a cache block.
(Inherited from Module.) |
|
CurrentProperty |
Gets the property currently being set on the module.
(Inherited from BaseModule.) |
|
DefaultValue |
Gets or sets the default value that will be returned when the execution would otherwise return an empty string.
(Inherited from Module.) |
|
DisplayFields |
Extra fields (besides nr, parent, folder) that will be selected from the database. As needed to display links.
Defaults to title in Initialize().
|
|
Format |
Gets or sets the formatting Xml.
(Inherited from ResultSetModule.) |
|
Formatting |
Gets the formatting options.
(Inherited from Module.) |
|
HasParameterSection |
Returns true if the macro currently uses an SXML parameters section
(Inherited from BaseModule.) |
|
Id |
Gets or sets the unique id of the module instance during the current processing. (Inherited from BaseModule.)Modules with Id set will be kept alive during the complete rendering and can be accessed from other modules using the Find method. |
|
InputData |
Data table containing parent items. The table should be sorted from highest to lowest.
|
|
IsCancelled |
Gets a value indicating whether the execution of the macro is cancelled.
(Inherited from BaseModule.) |
|
IsSelfClosing |
Gets a value indicating whether this instance is self closing.
(Inherited from BaseModule.) |
|
LocalId |
Gets or sets the local id of the macro in the current buffer scope.
(Inherited from Module.) |
|
MaxLevels |
Maximum number of levels to step back through.
Default to 0 (meaning no limit) in Initialize().
|
|
MaxRows |
Gets or sets a limit for the number of rows that the output may contain. (Inherited from ResultSetModule.) |
|
MinimumAccessLevel |
Gets or sets the minimum access level for each item by name. The given level must be defined as an AccessTypeLevel.
|
|
MinimumAccessTypeLevel |
Friendly name of the minimum access type level required by the site visitor to execute this macro.
(Inherited from Module.) |
|
MinimumBrowseLevel |
Gets or sets the minimum access level for each item to be shown.
Leave 0 to forgo security checks.
|
|
ModuleInfo |
Gets the module info.
(Inherited from BaseModule.) |
|
OnErrorReturnValue |
Gets or sets the value to return in case on error occurs during execution. (Inherited from Module.)The Viper expressions this.error(), this.error(full) and this.error(type) are available in this context. |
|
Properties |
Gets the full list of properties as set when executing the module.
(Inherited from BaseModule.) |
|
Remarks |
Gets or sets the remarks. Remarks have no effect on the actual execution of the module. (Inherited from BaseModule.)They only improve the readability of the code. |
|
Result |
Returns a reference to the module result
(Inherited from BaseModule.) |
|
ResultFormat |
Gets or sets the resultformat.
(Inherited from Module.) |
|
ResultType |
Gets or sets the type of the result.
(Inherited from BaseModule.) |
|
ReverseOrder |
Set to true to display the parents in reverse order.
|
|
RowDelimiter |
Specifies the delimiter string that separates individual records. (Inherited from ResultSetModule.) |
|
RowFormat |
Gets or sets the formatting string. (Inherited from ResultSetModule.) |
|
ShowHidden |
Gets or sets a value indicating whether to show hidden items.
|
|
SkipRows |
Specifies which row will be the first row in the output. (Inherited from ResultSetModule.) |
|
StartItem |
Item of which the parents will be listed. Defaults to Context.Item.
|
|
State |
Gets a key/value collection that can be used to organize and share data during the lifecycle of a module.
(Inherited from BaseModule.) |
|
Status |
Gets a value indicating the ModuleStatus of this module.
(Inherited from BaseModule.) |
|
SXMLPath |
Gets the path to the macro in the current execution stack.
(Inherited from BaseModule.) |
|
TableName |
Database table or view from which the parents will be selected.
|
|
TimeoutSeconds |
Gets or sets the timeout in seconds.
In the overriden Execute() method, you can call CheckTimeout() to check whether execution has timed out.
(Inherited from BaseModule.) |
|
TopItem |
Gets or sets the highest item that should be displayed in the list of parents.
If the StartItem is not a child of TopItem, the parameter will be ignored.
|
|
Trim |
Gets a value indicating how the whitespace is trimmed.
(Inherited from BaseModule.) |
|
TypeName |
Gets the name of the Module type.
(Inherited from BaseModule.) |
|
UserSetPropertyList |
Gets the user-set property list.
(Inherited from BaseModule.) |
|
Whitespace |
Gets a value indicating whether to preserve whitespace.
(Inherited from BaseModule.) |
Protected Properties
Name | Description | |
---|---|---|
CurrentlyFormatting |
Returns true if currently formatting
(Inherited from ResultSetModule.) |
|
IContext |
Gets a reference to the IContext interface.
(Inherited from BaseModule.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IAIMModule..::..AIMRelations | (Inherited from BaseModule.) | |
IModuleExec..::..Context | ||
IModuleExec..::..InstructionSource | (Inherited from BaseModule.) | |
ISXMLInstruction..::..Name | (Inherited from BaseModule.) | |
IModuleExec..::..ProcessingContext |
See Also
Smartsite.Runtime.Modules Namespace