Page template ID

Permalink
Hi, In concrete 5.7 version how I will get page template Id means that I want to get ptId of page?

Thanks

theneptune
 
theneptune replied on at Permalink Reply
theneptune
Anyone please help on this issue?
edbeeny replied on at Permalink Reply
edbeeny
The only place I have found it is when you hover over a link, like the attributes link when selecting the page within the sitemap.
MrKDilkington replied on at Permalink Reply
MrKDilkington
Here is one way to get the page template ID (pTemplateID).
$c = Page::getCurrentPage();
$c->getPageTemplateID();