GetParentAtLevel Method
KalikoCMS Namespace > PageFactory Class : GetParentAtLevel Method |
Get the specified page's parent from the defined level. For instance if you call this function with a page that is 5 levels beyond the root and request the second level page the system will itterate through the parents until it's on level 2 and return that page.
Syntax
Parameters
- pageId
- level
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2