Enable: Difference between revisions
Jump to navigation
Jump to search
imported>Grotfang mNo edit summary |
imported>Bale mNo edit summary |
||
Line 6: | Line 6: | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 30: | Line 29: | ||
see_also={{SeeAlso|disable}}| | see_also={{SeeAlso|disable}}| | ||
}} | }} | ||
[[Category:Miscellaneous Functions]] |
Latest revision as of 05:32, 22 May 2010
Function Syntax
- func is the name of the function you wish to enable.
This function allows you to specify a disabled function that you wish to re-enable. Note, enable("all"), as you may expect, enables all disabled functions.
Code Samples
Disabling map_to_file() to prevent writing into your data files can be useful when testing. This snippet re-enables the function.
enable("map_to_file");