API docs     >     Pages and Sites     >     Templates

Templates->getTemplate

Description

getTemplate ( $templateId )
Gets basic information about the specified Template

Parameters

$templateId
int
Template Id

Returns

array|false
Array containing information about the Template or FALSE in case of an error
  1. Array(
  2.     [ID] => 3                       int Property Id (versioned Object Id)
  3.     [OBJECTID] => 3                 int Id
  4.     [FOLDER] => 0                   int 1 if folder, 0 if not
  5.     [NAME] => 'Overview'            string Name
  6.     [IDENTIFIER] => 'Overview'      string Identifier
  7.     [DESCRIPTION] => 'Over Desc.'   string string Description (dynamic Property)
  8.     [FILENAME] => 'home.html'       string Filename
  9.     [PATH] => '/www/frontend/'      string Path
  10.     [FILE] => 0                     int File Id
  11. )