MagicCMS Documentation

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

Gets the parents of this Post Filtered by type.

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

Syntax


public MagicPostCollection GetParents(
	int[] tipi,
	string order
)

Parameters

tipi
Type: array<Int32>[]()[][]
The types array.
order
Type: String
Order in which the posts are sorted.

Return Value

The parents (MagicPostCollection)