osalvador / tePLSQL

PL/SQL Template engine
http://osalvador.github.io/tePLSQL/
MIT License
65 stars 18 forks source link

Use Template Variables (p_vars) to set internal globals #29

Closed MikeKutz closed 6 years ago

MikeKutz commented 6 years ago

The tePLSQL package has a few internal globals that determine how the engine operates. (eg g_max_includes)

Instead of moving them from the body into the specification (eg for #27), they could be set along with the Template Parameters.

That is: non-default values would need to be defined in the p_vars parameter of process and render procedures (along with Template Variables).

Example internal globals