-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathBBConfiguration.php
88 lines (79 loc) · 2.26 KB
/
BBConfiguration.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
/**
* Configuration for the BinaryBeast API Library
*
* This is stored in a separate file to make it easier to pull changes to the library, without losing
* any configuration values
*
* @package BinaryBeast
* @subpackage Library
*/
final class BBConfiguration {
/**
* <b>Your BinaryBeast Account API Key</b><br />
* You can find / manage your API key in your user settings here: {@link http://binarybeast.com/user/settings/api}<br />
*
* @var string
*/
public $api_key = 'e17d31bfcbedd1c39bcb018c5f0d0fbf.4dcb36f5cc0d74.24632846';
/**
* Custom model extension class names
*
* Extended models must reside in /lib/custom/{new_class_name}.php
*
* For example, if you override BBTournament with LocalTournament, you must save it in
* in lib/custom/LocalTournament.php
*
* @var string[]
*/
public $models_extensions = array(
//'BBTournament' => 'LocalTournament',
//'BBTeam' => 'LocalTeam',
//'BBMatch' => null,
//'BBMatchGame' => null,
);
/*
*
* Database settings for BBCache
*
*/
/**
* Database type, currently supported values: 'mysql' ('postgresql' next probably)
* @var string
*/
public $cache_db_type = 'mysql';
/**
* Server to connect to, ie 'localhost', 'mydb.site.com', etc
* @var string
*/
public $cache_db_server = 'localhost';
/**
* Optional port to use when connecting to $server
* If not provided, we will use the default port
* based on the database $type defined
* @var int
*/
public $cache_db_port = null;
/**
* Database name
* @var string
*/
public $cache_db_database = null;//'test';
/**
* Name of the table to use
* This class will create the table, since we expect it to be in a certain format
* @var string
*/
public $cache_db_table = null;//'bb_api_cache';
/**
* Username for logging into the database
* @var string
*/
public $cache_db_username = null;//'test_user';
/**
* Password for logging into the database
* @var string
*/
public $cache_db_password = null;
}
?>