IMP_Compose::editTemplate PHP Method

editTemplate() public method

Edit an existing template message. Saving this template later (using saveTemplate()) will cause the original message to be deleted.
public editTemplate ( IMP_Indices $indices ) : mixed
$indices IMP_Indices An indices object.
return mixed See resumeDraft().
    public function editTemplate($indices)
    {
        $res = $this->useTemplate($indices);
        $this->_setMetadata('template_uid_edit', $indices);
        return $res;
    }