save_template

(Since 1.7.9) -- save a pod template
function save_template($params)

Parameters

$params is an ASSOCIATIVE ARRAY that supports the following attributes:
ParameterTypeDetails
id INT the template ID (if editing)
name STRING the template name (if adding new)
code STRING the template code

Returns

Nothing, or a string beginning with "Error".
See Also