ContentProvider GetNodesContent Method (String, String, String, Boolean, String, String, String, String, Int32, Boolean, Boolean, Int32)Kentico 8.0 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.0.5239.26125)

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
topN
Type: OnlineSystem Int32
Select top N rows

Return Value

Type: OnlineString
Remarks

The default sorting is ascending by node name.
See Also