aboutsummaryrefslogtreecommitdiff
path: root/docs/08_Format_API/03_FormatAbstract.md
diff options
context:
space:
mode:
authorGravatar Jan Tojnar <jtojnar@gmail.com> 2022-06-07 18:05:33 +0200
committerGravatar GitHub <noreply@github.com> 2022-06-07 18:05:33 +0200
commitfb501652d5ef8519470fa1faa585b3668ebd2a34 (patch)
treea9603f0c09d6f4b710fbde1c10297330bac87ad1 /docs/08_Format_API/03_FormatAbstract.md
parente85932b1a524f88db6af66d4c3aac3a7983c169b (diff)
downloadrss-bridge-fb501652d5ef8519470fa1faa585b3668ebd2a34.tar.gz
rss-bridge-fb501652d5ef8519470fa1faa585b3668ebd2a34.tar.zst
rss-bridge-fb501652d5ef8519470fa1faa585b3668ebd2a34.zip
Formats: Remove display & related method (#2776)
Format should not be responsible for sending HTTP response.
Diffstat (limited to 'docs/08_Format_API/03_FormatAbstract.md')
-rw-r--r--docs/08_Format_API/03_FormatAbstract.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/08_Format_API/03_FormatAbstract.md b/docs/08_Format_API/03_FormatAbstract.md
index 82e42718..8cf0418f 100644
--- a/docs/08_Format_API/03_FormatAbstract.md
+++ b/docs/08_Format_API/03_FormatAbstract.md
@@ -1,27 +1,9 @@
The `FormatAbstract` class implements the [`FormatInterface`](../08_Format_API/02_FormatInterface.md) interface with basic functional behavior and adds common helper functions for new formats:
-* [setContentType](#the-setcontenttype-function)
-* [callContentType](#the-callcontenttype-function)
* [sanitizeHtml](#the-sanitizehtml-function)
# Functions
-## The `setContentType` function
-
-The `setContentType` function receives a string defining the content type for the HTML header and must return the object instance.
-
-```PHP
-setContentType(string): self
-```
-
-## The `callContentType` function
-
-The `callContentType` function applies the content type to the header data and must return the object instance.
-
-```PHP
-callContentType(): self
-```
-
## The `sanitizeHtml` function
The `sanitizeHtml` function receives an HTML formatted string and returns the string with disabled `<script>`, `<iframe>` and `<link>` tags.