From 645e39f1647aa000c8ce6df69f8c6b2a3378f12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 20 Feb 2012 13:38:56 +0100 Subject: Mention on_load on module attributes section. --- system/doc/reference_manual/modules.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/doc') diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml index 0dbc0ab56b..e29b7b8b16 100644 --- a/system/doc/reference_manual/modules.xml +++ b/system/doc/reference_manual/modules.xml @@ -114,6 +114,12 @@ fact(0) -> % |

If this attribute is not specified, the version defaults to the MD5 checksum of the module.

+ -on_load(Function). + +

Names a function that should be run automatically when a + module a loaded. See + code loading for more information.

+
-- cgit v1.2.3