@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @return void |
33 | 33 | */ |
34 | - public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) { |
|
34 | + public function construct_postProcessRecordId(SimpleXMLElement & $xml, &$record_id) { |
|
35 | 35 | |
36 | 36 | if (!$record_id) { |
37 | 37 |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | } else { |
338 | 338 | |
339 | 339 | // Reindex document. |
340 | - $doc =& tx_dlf_document::getInstance($id); |
|
340 | + $doc = & tx_dlf_document::getInstance($id); |
|
341 | 341 | |
342 | 342 | if ($doc->ready) { |
343 | 343 | |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | case 'undelete': |
423 | 423 | |
424 | 424 | // Reindex document. |
425 | - $doc =& tx_dlf_document::getInstance($id); |
|
425 | + $doc = & tx_dlf_document::getInstance($id); |
|
426 | 426 | |
427 | 427 | if ($doc->ready) { |
428 | 428 |
@@ -161,7 +161,7 @@ |
||
161 | 161 | if (!empty($this->piVars['id'])) { |
162 | 162 | |
163 | 163 | // Get instance of tx_dlf_document. |
164 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id']); |
|
164 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id']); |
|
165 | 165 | |
166 | 166 | if (!$this->doc->ready) { |
167 | 167 |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $this->list->save(); |
163 | 163 | |
164 | 164 | // Save document to database and index. |
165 | - $doc =& tx_dlf_document::getInstance($uid, 0, TRUE); |
|
165 | + $doc = & tx_dlf_document::getInstance($uid, 0, TRUE); |
|
166 | 166 | |
167 | 167 | if ($doc->ready) { |
168 | 168 | |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | && \TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl($this->data['id'])) { |
220 | 220 | |
221 | 221 | // Save document to database and index. |
222 | - $doc =& tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE); |
|
222 | + $doc = & tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE); |
|
223 | 223 | |
224 | 224 | if ($doc->ready) { |
225 | 225 |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @return integer 0 on success or 1 on failure |
90 | 90 | */ |
91 | - public static function add(tx_dlf_document &$doc, $core = 0) { |
|
91 | + public static function add(tx_dlf_document & $doc, $core = 0) { |
|
92 | 92 | |
93 | 93 | if (in_array($doc->uid, self::$processedDocs)) { |
94 | 94 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | // Handle multi-volume documents. |
102 | 102 | if ($doc->parentId) { |
103 | 103 | |
104 | - $parent =& tx_dlf_document::getInstance($doc->parentId, 0, TRUE); |
|
104 | + $parent = & tx_dlf_document::getInstance($doc->parentId, 0, TRUE); |
|
105 | 105 | |
106 | 106 | if ($parent->ready) { |
107 | 107 | |
@@ -535,7 +535,7 @@ discard block |
||
535 | 535 | * |
536 | 536 | * @return integer 0 on success or 1 on failure |
537 | 537 | */ |
538 | - protected static function processLogical(tx_dlf_document &$doc, array $logicalUnit) { |
|
538 | + protected static function processLogical(tx_dlf_document & $doc, array $logicalUnit) { |
|
539 | 539 | |
540 | 540 | $errors = 0; |
541 | 541 | |
@@ -700,7 +700,7 @@ discard block |
||
700 | 700 | * |
701 | 701 | * @return integer 0 on success or 1 on failure |
702 | 702 | */ |
703 | - protected static function processPhysical(tx_dlf_document &$doc, $page, array $physicalUnit) { |
|
703 | + protected static function processPhysical(tx_dlf_document & $doc, $page, array $physicalUnit) { |
|
704 | 704 | |
705 | 705 | $errors = 0; |
706 | 706 |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | // Get the document... |
92 | - $doc =& tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE); |
|
92 | + $doc = & tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE); |
|
93 | 93 | |
94 | 94 | if ($doc->ready) { |
95 | 95 | |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
171 | 171 | |
172 | 172 | // Get the document... |
173 | - $doc =& tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE); |
|
173 | + $doc = & tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE); |
|
174 | 174 | |
175 | 175 | if ($doc->ready) { |
176 | 176 |
@@ -132,7 +132,7 @@ |
||
132 | 132 | $pid = (!empty($this->conf['excludeOther']) ? intval($this->conf['pages']) : 0); |
133 | 133 | |
134 | 134 | // Get instance of tx_dlf_document. |
135 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id'], $pid); |
|
135 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id'], $pid); |
|
136 | 136 | |
137 | 137 | if (!$this->doc->ready) { |
138 | 138 |
@@ -1526,7 +1526,7 @@ |
||
1526 | 1526 | |
1527 | 1527 | if ($parentLocation != $this->location) { |
1528 | 1528 | |
1529 | - $parentDoc =& tx_dlf_document::getInstance($parentLocation, $pid); |
|
1529 | + $parentDoc = & tx_dlf_document::getInstance($parentLocation, $pid); |
|
1530 | 1530 | |
1531 | 1531 | if ($parentDoc->ready) { |
1532 | 1532 |