1 Developed by Dan Littlejohn of Littlejohn Consulting.
2 www.littlejohnconsulting.com
4 Released under the GPL.
6 Send bug reports, requests to dan@littlejohnconsulting.com
13 www.littlejohnconsulting.com?q=ari
16 * class - CamelCase (ie ClassName)
17 * method camelCase (ie methodName)
18 * variable underscore (ie variable_name)
19 * constant UNDERSCORE (ie CONSTANT_NAME)
22 PHP4 (but PHP5 is not yet supported)
26 asterisk manager - at a mininum need command access
29 for security all the files in ./recordings/include should be locked down in the web browser
30 so they cannot be viewed.
32 voicemail email links - For those who would like to include a link to ARI in the voicemail email and set the correct login (mailbox) you can do so as:
34 http://< ip address >/recordings/index.php?login=< login >
37 < ip address > with the server dns or ip
38 < login > with the login or mailbox
44 odules can be added or removed from ARI.
48 must include these methods.
50 rank - weights were the module menu item will appear in the navigation window
51 init - initialize the module. Database access should first appear here and not in the constructor
52 navMenu - side navigation menu item
53 display - main module page content
61 * Functions for the interface to the help page
65 * Class for new_module
70 * rank (for prioritizing modules)
85 * Adds menu item to nav menu
90 function navMenu($args) {
92 // put if statement in return string, because do not know $logout until page is built
94 <?php if ($logout !='') { ?>
95 <p><small><small><a href='" . $_SERVER['PHP_SELF'] . "?m=NewModule&f=display'>" . _("new_module") . "</a></small></small></p>
102 * Displays stats page
107 function display($args) {
109 // build page content
110 $ret .= checkErrorMessage();
112 $ret .= $display->displayHeaderText("new_module");
113 $ret .= $display->displayLine();