@@ -153,31 +153,11 @@ public function generate()
153
153
}//end generate()
154
154
155
155
156
- /**
157
- * Print the header of the HTML page.
158
- *
159
- * @deprecated 3.12.0 Use HTML::getFormattedHeader() instead.
160
- *
161
- * @codeCoverageIgnore
162
- *
163
- * @return void
164
- */
165
- protected function printHeader ()
166
- {
167
- trigger_error (
168
- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedHeader()" instead. ' ,
169
- E_USER_DEPRECATED
170
- );
171
-
172
- echo $ this ->getFormattedHeader ();
173
-
174
- }//end printHeader()
175
-
176
-
177
156
/**
178
157
* Format the header of the HTML page.
179
158
*
180
- * @since 3.12.0 Replaces the deprecated HTML::printHeader() method.
159
+ * @since 3.12.0 Replaces the HTML::printHeader() method,
160
+ * which was deprecated in 3.12.0 and removed in 4.0.0.
181
161
*
182
162
* @return string
183
163
*/
@@ -202,33 +182,13 @@ protected function getFormattedHeader()
202
182
}//end getFormattedHeader()
203
183
204
184
205
- /**
206
- * Print the table of contents for the standard.
207
- *
208
- * @deprecated 3.12.0 Use HTML::getFormattedToc() instead.
209
- *
210
- * @codeCoverageIgnore
211
- *
212
- * @return void
213
- */
214
- protected function printToc ()
215
- {
216
- trigger_error (
217
- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedToc()" instead. ' ,
218
- E_USER_DEPRECATED
219
- );
220
-
221
- echo $ this ->getFormattedToc ();
222
-
223
- }//end printToc()
224
-
225
-
226
185
/**
227
186
* Format the table of contents for the standard.
228
187
*
229
188
* The TOC is just an unordered list of bookmarks to sniffs on the page.
230
189
*
231
- * @since 3.12.0 Replaces the deprecated HTML::printToc() method.
190
+ * @since 3.12.0 Replaces the HTML::printToc() method,
191
+ * which was deprecated in 3.12.0 and removed in 4.0.0.
232
192
*
233
193
* @return string
234
194
*/
@@ -259,31 +219,11 @@ protected function getFormattedToc()
259
219
}//end getFormattedToc()
260
220
261
221
262
- /**
263
- * Print the footer of the HTML page.
264
- *
265
- * @deprecated 3.12.0 Use HTML::getFormattedFooter() instead.
266
- *
267
- * @codeCoverageIgnore
268
- *
269
- * @return void
270
- */
271
- protected function printFooter ()
272
- {
273
- trigger_error (
274
- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedFooter()" instead. ' ,
275
- E_USER_DEPRECATED
276
- );
277
-
278
- echo $ this ->getFormattedFooter ();
279
-
280
- }//end printFooter()
281
-
282
-
283
222
/**
284
223
* Format the footer of the HTML page.
285
224
*
286
- * @since 3.12.0 Replaces the deprecated HTML::printFooter() method.
225
+ * @since 3.12.0 Replaces the HTML::printFooter() method,
226
+ * which was deprecated in 3.12.0 and removed in 4.0.0.
287
227
*
288
228
* @return string
289
229
*/
@@ -369,35 +309,13 @@ private function titleToAnchor($title)
369
309
}//end titleToAnchor()
370
310
371
311
372
- /**
373
- * Print a text block found in a standard.
374
- *
375
- * @param \DOMNode $node The DOMNode object for the text block.
376
- *
377
- * @deprecated 3.12.0 Use HTML::getFormattedTextBlock() instead.
378
- *
379
- * @codeCoverageIgnore
380
- *
381
- * @return void
382
- */
383
- protected function printTextBlock (DOMNode $ node )
384
- {
385
- trigger_error (
386
- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedTextBlock()" instead. ' ,
387
- E_USER_DEPRECATED
388
- );
389
-
390
- echo $ this ->getFormattedTextBlock ($ node );
391
-
392
- }//end printTextBlock()
393
-
394
-
395
312
/**
396
313
* Format a text block found in a standard.
397
314
*
398
315
* @param \DOMNode $node The DOMNode object for the text block.
399
316
*
400
- * @since 3.12.0 Replaces the deprecated HTML::printTextBlock() method.
317
+ * @since 3.12.0 Replaces the HTML::printTextBlock() method,
318
+ * which was deprecated in 3.12.0 and removed in 4.0.0.
401
319
*
402
320
* @return string
403
321
*/
@@ -444,35 +362,13 @@ protected function getFormattedTextBlock(DOMNode $node)
444
362
}//end getFormattedTextBlock()
445
363
446
364
447
- /**
448
- * Print a code comparison block found in a standard.
449
- *
450
- * @param \DOMNode $node The DOMNode object for the code comparison block.
451
- *
452
- * @deprecated 3.12.0 Use HTML::getFormattedCodeComparisonBlock() instead.
453
- *
454
- * @codeCoverageIgnore
455
- *
456
- * @return void
457
- */
458
- protected function printCodeComparisonBlock (DOMNode $ node )
459
- {
460
- trigger_error (
461
- 'The ' .__METHOD__ .'() method is deprecated. Use "echo ' .__CLASS__ .'::getFormattedCodeComparisonBlock()" instead. ' ,
462
- E_USER_DEPRECATED
463
- );
464
-
465
- echo $ this ->getFormattedCodeComparisonBlock ($ node );
466
-
467
- }//end printCodeComparisonBlock()
468
-
469
-
470
365
/**
471
366
* Format a code comparison block found in a standard.
472
367
*
473
368
* @param \DOMNode $node The DOMNode object for the code comparison block.
474
369
*
475
- * @since 3.12.0 Replaces the deprecated HTML::printCodeComparisonBlock() method.
370
+ * @since 3.12.0 Replaces the HTML::printCodeComparisonBlock() method,
371
+ * which was deprecated in 3.12.0 and removed in 4.0.0.
476
372
*
477
373
* @return string
478
374
*/
0 commit comments