ContentProvider GetNodesContent Method (String, String, String, Boolean, String, String, String, String, Int32, Boolean, Boolean, Guid, String, Boolean, Int32)Kentico 8.1 API Reference
Returns content of nodes after using specified transformation.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

siteName
Type: OnlineSystem String
Site name
path
Type: OnlineSystem String
Node path
culture
Type: OnlineSystem String
Culture code
combineWithDefCulture
Type: OnlineSystem Boolean
Combine with default culture
classNames
Type: OnlineSystem String
Classnames list (separated by the semicolon)
transformationName
Type: OnlineSystem String
Transformation name in format application.class.transformation
where
Type: OnlineSystem String
Where condition
orderBy
Type: OnlineSystem String
ORDER BY SQL expressions (without the ORDERBY keyword
maxRelativeLevel
Type: OnlineSystem Int32
Maximum relative node level to be returned. Value 1 returns only the node itself. Use -1 for unlimited recurrence
selectOnlyPublished
Type: OnlineSystem Boolean
Indicates if only published documents should be returned. Default value is false and all documents are returned
checkPermissions
Type: OnlineSystem Boolean
If true, the method will return only those nodes that can be read by current user
relationshipWithNodeGuid
Type: OnlineSystem Guid
Select nodes with given relationship with given node
relationshipName
Type: OnlineSystem String
Name of the relationship
relatedNodeIsOnTheLeftSide
Type: OnlineSystem Boolean
If true, the returned nodes are on the right side of the relationship
topN (Optional)
Type: OnlineSystem Int32
Select top N rows

Return Value

Type: OnlineString
Remarks

The default sorting is ascending by node name.
See Also