Last change
on this file was 8, checked in by chronos, 18 months ago |
- Modified: Updated Common package.
- Modified: Form types made as separate FormManager package.
- Fixed: PHP 8.1 support.
|
File size:
643 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | class Map extends Model
|
---|
4 | {
|
---|
5 | var $Width;
|
---|
6 | var $Height;
|
---|
7 | var $Pos;
|
---|
8 | var $Zoom;
|
---|
9 | var $Path;
|
---|
10 | var $Key;
|
---|
11 |
|
---|
12 | function __construct(Core $System)
|
---|
13 | {
|
---|
14 | parent::__construct($System);
|
---|
15 | $this->Path = array();
|
---|
16 | $this->Key = '';
|
---|
17 | $this->Zoom = 1;
|
---|
18 | $this->Width = 300;
|
---|
19 | $this->Height = 200;
|
---|
20 | }
|
---|
21 |
|
---|
22 | function Geolocate($Text)
|
---|
23 | {
|
---|
24 | return null;
|
---|
25 | }
|
---|
26 |
|
---|
27 | function Show()
|
---|
28 | {
|
---|
29 | return '';
|
---|
30 | }
|
---|
31 |
|
---|
32 | function Parse(&$Text, $Start, $End)
|
---|
33 | {
|
---|
34 | $Text = substr($Text, strpos($Text, $Start) + strlen($Start));
|
---|
35 | $Result = substr($Text, 0, strpos($Text, $End) - 1);
|
---|
36 | $Text = substr($Text, strlen($End));
|
---|
37 | return $Result;
|
---|
38 | }
|
---|
39 | }
|
---|
40 |
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.