freenet-router |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|---|---|---|
1 | 2 | simandl | <?php |
2 | |
||
3 | namespace Phem\Libraries\UI\Model; |
||
4 | |
||
5 | /** |
||
6 | * @author Jakub PetrĹžĂlka <petrzilka@czweb.net> |
||
7 | */ |
||
8 | class Size |
||
9 | { |
||
10 | |
||
11 | private $x; |
||
12 | private $y; |
||
13 | |
||
14 | function __construct($x = 0, $y = 0) |
||
15 | { |
||
16 | $this->x = $x; |
||
17 | $this->y = $y; |
||
18 | } |
||
19 | |
||
20 | public function getX() |
||
21 | { |
||
22 | return $this->x; |
||
23 | } |
||
24 | |
||
25 | public function getY() |
||
26 | { |
||
27 | return $this->y; |
||
28 | } |
||
29 | |
||
30 | } |
||
31 | |