Sets the option for the template class. Currently it understands the following options:
If set to TRUE, then do not substitute variables and remove unused placeholders in data added through setVariable() and setGlobalVariable(). See also bugs #20199 and #21951. Default is FALSE, for performance reasons.
Whether to trim extra whitespace from template on cache save. Generally safe to have this on, unless you have <pre></pre> in templates or want to preserve HTML indentantion. Default is TRUE
Table 41-1. Possible PEAR_Error values
Error code | Error message | Reason | Solution |
---|---|---|---|
SIGMA_UNKNOWN_OPTION | Unknown option '$option' | $option is not known to Sigma | Check the option name spelling |