1 | <?php |
||
24 | class Page { |
||
25 | |||
26 | use ArrayWordsTrait; |
||
27 | use IntegerHeightTrait; |
||
28 | use IntegerWidthTrait; |
||
29 | |||
30 | /** |
||
31 | * Parent. |
||
32 | * |
||
33 | * @var Document |
||
34 | */ |
||
35 | private $parent; |
||
36 | |||
37 | /** |
||
38 | * Resolution. |
||
39 | * |
||
40 | * @var int |
||
41 | */ |
||
42 | private $resolution; |
||
43 | |||
44 | /** |
||
45 | * Rotation. |
||
46 | * |
||
47 | * @var int |
||
48 | */ |
||
49 | private $rotation; |
||
50 | |||
51 | /** |
||
52 | * Tag. |
||
53 | * |
||
54 | * @var int |
||
55 | */ |
||
56 | private $tag; |
||
57 | |||
58 | /** |
||
59 | * Constructor. |
||
60 | */ |
||
61 | public function __construct() { |
||
64 | |||
65 | /** |
||
66 | * Get the parent. |
||
67 | * |
||
68 | * @return Document Returns the parent. |
||
69 | */ |
||
70 | public function getParent() { |
||
73 | |||
74 | /** |
||
75 | * Get the resolution. |
||
76 | * |
||
77 | * @return int Returns the resolution. |
||
78 | */ |
||
79 | public function getResolution() { |
||
82 | |||
83 | /** |
||
84 | * Get the rotation. |
||
85 | * |
||
86 | * @return int Returns the rotation. |
||
87 | */ |
||
88 | public function getRotation() { |
||
91 | |||
92 | /** |
||
93 | * Get the tag. |
||
94 | * |
||
95 | * @return int Returns the tag. |
||
96 | */ |
||
97 | public function getTag() { |
||
100 | |||
101 | /** |
||
102 | * Set the parent. |
||
103 | * |
||
104 | * @param Document|null $parent The parent. |
||
105 | * @return Page Returns this page. |
||
106 | */ |
||
107 | public function setParent(Document $parent = null) { |
||
111 | |||
112 | /** |
||
113 | * Set the resolution. |
||
114 | * |
||
115 | * @param int $resolution |
||
116 | * @return Page Returns this page. |
||
117 | */ |
||
118 | public function setResolution($resolution) { |
||
122 | |||
123 | /** |
||
124 | * Set the rotation. |
||
125 | * |
||
126 | * @param int $rotation The rotation. |
||
127 | * @return Page Returns this page. |
||
128 | */ |
||
129 | public function setRotation($rotation) { |
||
133 | |||
134 | /** |
||
135 | * Set the tag. |
||
136 | * |
||
137 | * @param int $tag The tag. |
||
138 | * @return Page Returns this page. |
||
139 | */ |
||
140 | public function setTag($tag) { |
||
144 | |||
145 | } |