API docs     >     Pages and Sites     >     Templates

Templates->getByIdentifier

Description

getByIdentifier ( $value )
Gets Template by identifier

Parameters

$value
string
Template identifier

Returns

array
Template information
  1. array(
  2.     ['ID'] => 25
  3.     ['OBJECTID'] => 20
  4.     ['FOLDER'] => 0
  5.     ['NAME'] => 'Default Template'
  6.     ['IDENTIFIER'] => 'DEFAULT_TEMPLATE'
  7.     ['DESCRIPTION'] => 'Default Template'
  8.     ['FILENAME'] => 'default_template.html'
  9.     ['PATH'] => NULL
  10.     ['FILE'] => 0
  11. )