@@ -148,6 +148,9 @@ discard block |
||
148 | 148 | ->extractTo($pathPrefix.$this->local_path, [$file], \Wrklst\Zipper\Zipper::WHITELIST); |
149 | 149 | } |
150 | 150 | |
151 | + /** |
|
152 | + * @param string $file |
|
153 | + */ |
|
151 | 154 | protected function ReadOpenXmlFile($file, $type = 'file') |
152 | 155 | { |
153 | 156 | $this->exctractOpenXmlFile($file); |
@@ -180,6 +183,10 @@ discard block |
||
180 | 183 | } |
181 | 184 | } |
182 | 185 | |
186 | + /** |
|
187 | + * @param string $file |
|
188 | + * @param false|string $folder |
|
189 | + */ |
|
183 | 190 | protected function SaveOpenXmlObjectToFile($xmlObject, $file, $folder) |
184 | 191 | { |
185 | 192 | if ($xmlString = $xmlObject->asXML()) { |
@@ -189,6 +196,9 @@ discard block |
||
189 | 196 | } |
190 | 197 | } |
191 | 198 | |
199 | + /** |
|
200 | + * @param integer $dpi |
|
201 | + */ |
|
192 | 202 | public function ReadTeamplate($dpi) |
193 | 203 | { |
194 | 204 | $this->Log('Analyze Template'); |
@@ -237,6 +247,9 @@ discard block |
||
237 | 247 | } |
238 | 248 | } |
239 | 249 | |
250 | + /** |
|
251 | + * @param \SimpleXMLElement $main_file |
|
252 | + */ |
|
240 | 253 | protected function FetchReplaceableImages(&$main_file, $ns) |
241 | 254 | { |
242 | 255 | //set up basic arrays to keep track of imgs |