1 | <?php |
||
27 | class DggContainer |
||
28 | { |
||
29 | /** |
||
30 | * Maximum shape index of all shapes in all drawings increased by one. |
||
31 | * |
||
32 | * @var int |
||
33 | */ |
||
34 | private $spIdMax; |
||
35 | |||
36 | /** |
||
37 | * Total number of drawings saved. |
||
38 | * |
||
39 | * @var int |
||
40 | */ |
||
41 | private $cDgSaved; |
||
42 | |||
43 | /** |
||
44 | * Total number of shapes saved (including group shapes). |
||
45 | * |
||
46 | * @var int |
||
47 | */ |
||
48 | private $cSpSaved; |
||
49 | |||
50 | /** |
||
51 | * BLIP Store Container. |
||
52 | * |
||
53 | * @var DggContainer\BstoreContainer |
||
54 | */ |
||
55 | private $bstoreContainer; |
||
56 | |||
57 | /** |
||
58 | * Array of options for the drawing group. |
||
59 | * |
||
60 | * @var array |
||
61 | */ |
||
62 | private $OPT = []; |
||
63 | |||
64 | /** |
||
65 | * Array of identifier clusters containg information about the maximum shape identifiers. |
||
66 | * |
||
67 | * @var array |
||
68 | */ |
||
69 | private $IDCLs = []; |
||
70 | |||
71 | /** |
||
72 | * Get maximum shape index of all shapes in all drawings (plus one). |
||
73 | * |
||
74 | * @return int |
||
75 | */ |
||
76 | 10 | public function getSpIdMax() |
|
77 | { |
||
78 | 10 | return $this->spIdMax; |
|
79 | } |
||
80 | |||
81 | /** |
||
82 | * Set maximum shape index of all shapes in all drawings (plus one). |
||
83 | * |
||
84 | * @param int |
||
85 | * @param mixed $value |
||
86 | */ |
||
87 | 10 | public function setSpIdMax($value) |
|
91 | |||
92 | /** |
||
93 | * Get total number of drawings saved. |
||
94 | * |
||
95 | * @return int |
||
96 | */ |
||
97 | 10 | public function getCDgSaved() |
|
98 | { |
||
99 | 10 | return $this->cDgSaved; |
|
100 | } |
||
101 | |||
102 | /** |
||
103 | * Set total number of drawings saved. |
||
104 | * |
||
105 | * @param int |
||
106 | * @param mixed $value |
||
107 | */ |
||
108 | 10 | public function setCDgSaved($value) |
|
112 | |||
113 | /** |
||
114 | * Get total number of shapes saved (including group shapes). |
||
115 | * |
||
116 | * @return int |
||
117 | */ |
||
118 | 10 | public function getCSpSaved() |
|
119 | { |
||
120 | 10 | return $this->cSpSaved; |
|
121 | } |
||
122 | |||
123 | /** |
||
124 | * Set total number of shapes saved (including group shapes). |
||
125 | * |
||
126 | * @param int |
||
127 | * @param mixed $value |
||
128 | */ |
||
129 | 10 | public function setCSpSaved($value) |
|
133 | |||
134 | /** |
||
135 | * Get BLIP Store Container. |
||
136 | * |
||
137 | * @return DggContainer\BstoreContainer |
||
138 | */ |
||
139 | 10 | public function getBstoreContainer() |
|
143 | |||
144 | /** |
||
145 | * Set BLIP Store Container. |
||
146 | * |
||
147 | * @param DggContainer\BstoreContainer $bstoreContainer |
||
148 | */ |
||
149 | 10 | public function setBstoreContainer($bstoreContainer) |
|
153 | |||
154 | /** |
||
155 | * Set an option for the drawing group. |
||
156 | * |
||
157 | * @param int $property The number specifies the option |
||
158 | * @param mixed $value |
||
159 | */ |
||
160 | 2 | public function setOPT($property, $value) |
|
164 | |||
165 | /** |
||
166 | * Get an option for the drawing group. |
||
167 | * |
||
168 | * @param int $property The number specifies the option |
||
169 | * |
||
170 | * @return mixed |
||
171 | */ |
||
172 | public function getOPT($property) |
||
180 | |||
181 | /** |
||
182 | * Get identifier clusters. |
||
183 | * |
||
184 | * @return array |
||
185 | */ |
||
186 | 10 | public function getIDCLs() |
|
187 | { |
||
188 | 10 | return $this->IDCLs; |
|
189 | } |
||
190 | |||
191 | /** |
||
192 | * Set identifier clusters. array(<drawingId> => <max shape id>, ...). |
||
193 | * |
||
194 | * @param array $pValue |
||
195 | */ |
||
196 | 10 | public function setIDCLs($pValue) |
|
200 | } |
||
201 |