-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfiguration.php
39 lines (32 loc) · 920 Bytes
/
configuration.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
<?php
if (!class_exists('Configuration')) {
class Configuration {
var $flashvars;
var $params;
var $others;
function Configuration($flashvars = array(), $params = array(), $others = array()) {
$this->flashvars = $flashvars;
$this->params = $params;
$this->others = $others;
}
function addFlashVar($key, $value) {
$this->flashvars[$key] = $value;
}
function addParam($key, $value) {
$this->params[$key] = $value;
}
function addOther($key, $value) {
$this->others[$key] = $value;
}
function getFlashVars() {
return $this->flashvars;
}
function getParams() {
return $this->params;
}
function getOthers() {
return $this->others;
}
}
}
?>