RouteUtils..::..GetVirtualPath Method (Int32, array<Int32>[]()[][], Int32)
Gets the routing path for a [MagicCms.Core.Magicpost]. Add automatically a parent name
Namespace:
MagicCMS.RoutingAssembly: MagicCMS.4.5 (in MagicCMS.4.5.dll)
Syntax
Parameters
- postPk
- Type: Int32
The post pk.
- parentTypes
- Type: array<Int32>[]()[][]
Array of post types with which filter parents. If empty non filter is applied.
- granParent
- Type: Int32
The gran parent pk.