wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
model
output
Position.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\model\output
;
12
13
/**
14
* The Position class stores a coordinate tuple for use
15
* with the LayoutVisitor.
16
*
17
* @author ingo herwig <ingo@wemove.com>
18
*/
19
class
Position
{
20
public
$x
;
21
public
$y
;
22
public
$z
;
23
24
/**
25
* Constructor.
26
* @param $x
27
* @param $y
28
* @param $z
29
*/
30
public
function
__construct
(
$x
,
$y
,
$z
) {
31
$this->x =
$x
;
32
$this->y =
$y
;
33
$this->z =
$z
;
34
}
35
}
36
?>
wcmf\lib\model\output
 
Definition:
namespaces.php:32
wcmf\lib\model\output\Position
The Position class stores a coordinate tuple for use with the LayoutVisitor.
Definition:
Position.php:19
wcmf\lib\model\output\Position\__construct
__construct($x, $y, $z)
Constructor.
Definition:
Position.php:30
wcmf\lib\model\output\Position\$z
$z
Definition:
Position.php:22
wcmf\lib\model\output\Position\$x
$x
Definition:
Position.php:20
wcmf\lib\model\output\Position\$y
$y
Definition:
Position.php:21