I would like to know how to get the Page Type of the Parent of the current page. All my level(2) pages are of the same page type, however the parent pages are of various types. I need to make changes in the child pages based on what the parent page's page type is.
I want to do this in the Class php file not in the template so <% control Parent %> won't work for me.