MagicCMS Documentation

MagicPost..::..GetGrandSons Method (String, 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 GetGrandSons(
	string order,
	int max,
	bool escludiScaduti
)

Parameters

order
Type: String
Order in which the posts are sorted.
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).