Coding Convention ---------------- We are using the following coding convention Graphically ---------------- The classes are structured like that. texts prefixed by "##" are comments to explain the convention with an example. Do not use them in your code. log("mailman","enum_ml"); ## when calling an important function, log it that way ## ## when raising an error, use the following syntax ## $err->raise("classname",_("text in english")); } } /* at the end of a php-only file, we don't put a ?> */ ?> Syntax in code : ---------------- function names starting by "hook_" are hooks called that way: global $hooks; $res=$hooks->invoke("hook_class_method_name",array($param1,$param2)); $params1 & 2 are sent as parameters to the hooked functions of each files. the hook function name must have the CALLING class name after hook_ like hook_admin_del_member for a hook in "admin" class. $res is an array with the returned data as values, for each function called in a class. The key in that array is the classname called.