MagicPost..::..GetSiblings Method (String, array<Int32>[]()[][])
Gets the siblings posts (same parent) of current post.
Namespace:
MagicCMS.CoreAssembly: MagicCMS.4.5 (in MagicCMS.4.5.dll)
Syntax
public MagicPostCollection GetSiblings( string order, int[] parentTypes )
Parameters
- order
- Type: String
Order in which the posts are sorted.
- parentTypes
- Type: array<Int32>[]()[][]
Filter siblings for parent post types