-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcompat_53.php
executable file
·115 lines (109 loc) · 3.19 KB
/
compat_53.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
require_once('map.php');
require_once('layer.php');
require_once('objectlayer.php');
require_once('imagelayer.php');
class Map extends MapBase {
private $_properties=array();
function __construct() {
if(method_exists(get_parent_class($this), '__construct')) {
parent::__construct();
}
$this->_properties[]=new properties();
}
public function __call($name, $args) {
//print('You called the method '.$name.' with '.count($args).' arguments.<br/>'."\r\n");
foreach($this->_properties as $prop) {
if(method_exists($prop, $name)) {
return call_user_func_array(array($prop, $name), $args);
}
}
}
};
class Tileset extends TilesetBase {
private $_properties=array();
function __construct() {
if(method_exists(get_parent_class($this), '__construct')) {
parent::__construct();
}
$this->_properties[]=new properties();
$this->_properties[]=new idproperties();
}
public function __call($name, $args) {
//print('You called the method '.$name.' with '.count($args).' arguments.<br/>'."\r\n");
foreach($this->_properties as $prop) {
if(method_exists($prop, $name)) {
return call_user_func_array(array($prop, $name), $args);
}
}
}
};
class TileLayer extends TileLayerBase {
private $_properties=array();
function __construct() {
if(method_exists(get_parent_class($this), '__construct')) {
parent::__construct();
}
$this->_properties[]=new properties();
}
public function __call($name, $args) {
//print('You called the method '.$name.' with '.count($args).' arguments.<br/>'."\r\n");
foreach($this->_properties as $prop) {
if(method_exists($prop, $name)) {
return call_user_func_array(array($prop, $name), $args);
}
}
}
};
class ObjectLayer extends ObjectLayerBase {
private $_properties=array();
function __construct() {
if(method_exists(get_parent_class($this), '__construct')) {
parent::__construct();
}
$this->_properties[]=new properties();
}
public function __call($name, $args) {
//print('You called the method '.$name.' with '.count($args).' arguments.<br/>'."\r\n");
foreach($this->_properties as $prop) {
if(method_exists($prop, $name)) {
return call_user_func_array(array($prop, $name), $args);
}
}
}
};
class ImageLayer extends ImageLayerBase {
private $_properties=array();
function __construct() {
if(method_exists(get_parent_class($this), '__construct')) {
parent::__construct();
}
$this->_properties[]=new properties();
}
public function __call($name, $args) {
//print('You called the method '.$name.' with '.count($args).' arguments.<br/>'."\r\n");
foreach($this->_properties as $prop) {
if(method_exists($prop, $name)) {
return call_user_func_array(array($prop, $name), $args);
}
}
}
};
class MapObject extends ObjectBase {
private $_properties=array();
function __construct() {
if(method_exists(get_parent_class($this), '__construct')) {
parent::__construct();
}
$this->_properties[]=new properties();
}
public function __call($name, $args) {
//print('You called the method '.$name.' with '.count($args).' arguments.<br/>'."\r\n");
foreach($this->_properties as $prop) {
if(method_exists($prop, $name)) {
return call_user_func_array(array($prop, $name), $args);
}
}
}
};
?>