MagicCMS Documentation

MagicPost..::..GetGrandSonsByType Method (array<Int32>[]()[][], String, Boolean, Int32, Boolean)

Gets the grand sons (children of children) of a post.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public MagicPostCollection GetGrandSonsByType(
	int[] types,
	string order,
	bool inclusive,
	int max,
	bool escludiScaduti
)

Parameters

types
Type: array<Int32>[]()[][]
Types array
order
Type: String
Order in which the posts are sorted.
inclusive
Type: Boolean
If set to true include filtered types otherwise exclude.
max
Type: Int32
Maximum number of posts returned.
escludiScaduti
Type: Boolean
If true filter post expired (expiration date prior to today).

Return Value

The Grand Sons (MagicPostCollection).