API docs     >     Pages and Sites     >     Templates

Templates->setName

Description

setName ( $templateId, $value )
Sets the name of this Template

Parameters

$templateId
int
Template Id
$value
string
Template name

Returns

bool
TRUE on success or FALSE in case of an error