/
configure.php
40 lines (32 loc) · 1009 Bytes
/
configure.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php defined('SYSPATH') or die('No direct access allowed.');
class Call_Configure extends Bluebox_Configure
{
public static $version = 1.0;
public static $packageName = 'calls';
public static $author = 'Dale Hege';
public static $vendor = '';
public static $license = 'MPL';
public static $summary = 'Call Records and Reporting';
public static $default = TRUE;
public static $type = Package_Manager::TYPE_MODULE;
public static $required = array(
'core' => 0.1
);
public static $navLabel = 'Calls';
public static $navBranch = '/Reports/';
public static $navURL = 'calls/index';
public static $navSubmenu = array(
'Download Records' => '/calls/download',
'Import Call Records' => '/calls/import'
);
public function postInstall()
{
$settings = new CallsSetting;
$settings->save();
}
public function repair()
{
$settings = new CallsSetting;
$settings->save();
}
}