API docs     >     Pages and Sites     >     Templates

Templates->getTemplateByIdentifier

Description

getTemplateByIdentifier ( $identifier )
Gets basic information about the specified Template by identifier

Parameters

$identifier
string
Template identifier

Returns

array|false
Array containing information about the Template or FALSE in case of an error
  1. Array(
  2.     [ID] => 2
  3.     [OBJECTID] => 2
  4.     [FOLDER] => 0
  5.     [NAME] => Content
  6.     [IDENTIFIER] => Content
  7.     [DESCRIPTION] =>
  8.     [FILENAME] => content.html
  9.     [PATH] =>
  10.     [FILE] => 0
  11. )