diff options
Diffstat (limited to 'formats')
-rw-r--r-- | formats/AtomFormat.php | 1 | ||||
-rw-r--r-- | formats/HtmlFormat.php | 1 | ||||
-rw-r--r-- | formats/JsonFormat.php | 1 | ||||
-rw-r--r-- | formats/MrssFormat.php | 1 | ||||
-rw-r--r-- | formats/PlaintextFormat.php | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/formats/AtomFormat.php b/formats/AtomFormat.php index 044e433f..693b6ad0 100644 --- a/formats/AtomFormat.php +++ b/formats/AtomFormat.php @@ -5,7 +5,6 @@ * http://tools.ietf.org/html/rfc4287 */ class AtomFormat extends FormatAbstract{ - public function stringify(){ $https = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 's' : ''; $httpHost = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index 71f70d29..f5e9cb22 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -1,6 +1,5 @@ <?php class HtmlFormat extends FormatAbstract { - public function stringify(){ $extraInfos = $this->getExtraInfos(); $title = htmlspecialchars($extraInfos['name']); diff --git a/formats/JsonFormat.php b/formats/JsonFormat.php index a60601a0..ef8c9f70 100644 --- a/formats/JsonFormat.php +++ b/formats/JsonFormat.php @@ -4,7 +4,6 @@ * Builds a JSON string from $this->items and return it to browser. */ class JsonFormat extends FormatAbstract { - public function stringify(){ $items = $this->getItems(); $toReturn = json_encode($items, JSON_PRETTY_PRINT); diff --git a/formats/MrssFormat.php b/formats/MrssFormat.php index 9110e020..023750eb 100644 --- a/formats/MrssFormat.php +++ b/formats/MrssFormat.php @@ -4,7 +4,6 @@ * Documentation Source http://www.rssboard.org/media-rss */ class MrssFormat extends FormatAbstract { - public function stringify(){ $https = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 's' : ''; $httpHost = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; diff --git a/formats/PlaintextFormat.php b/formats/PlaintextFormat.php index c9691d0f..2c2fb217 100644 --- a/formats/PlaintextFormat.php +++ b/formats/PlaintextFormat.php @@ -4,7 +4,6 @@ * Returns $this->items as raw php data. */ class PlaintextFormat extends FormatAbstract { - public function stringify(){ $items = $this->getItems(); $toReturn = print_r($items, true); |