SHOW:
|
|
- or go back to the newest paste.
1 | /** | |
2 | * Class-based module | |
3 | */ | |
4 | class org_example_module { | |
5 | /** | |
6 | * Implementation of hook_civicrm_xmlMenu | |
7 | */ | |
8 | static function civicrm_xmlMenu(&$files) { | |
9 | $files[] = "myfile.xml"; | |
10 | } | |
11 | ||
12 | /** | |
13 | * Private helper | |
14 | */ | |
15 | static function _helper() { | |
16 | ... | |
17 | } | |
18 | } |