31,034
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 48: | Line 48: | ||
This means you must declare this in your module descriptor (See the page [[Module development]] for more information on how to make a new module): | This means you must declare this in your module descriptor (See the page [[Module development]] for more information on how to make a new module): | ||
<syntaxhighlight lang="PHP"> | <syntaxhighlight lang="PHP"> | ||
$hookmanager->resarray = array('mypaymentcode => 'valid'); | $hookmanager->resarray = array('mypaymentcode' => 'valid'); | ||
</syntaxhighlight> | </syntaxhighlight> | ||