From ddf601f7d31dbfa069fa9d097bb9bed9bfa00f9f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 20 Dec 2012 20:44:47 +0100 Subject: [PATCH] Improve documentation of content handler stuff - Split file and class documentation - Add some missing file/class descriptions - Add missing @ingroup Content Change-Id: I7f7e3056570ca13a92f36a408c9b961c938f09a1 --- includes/content/AbstractContent.php | 6 +++ includes/content/Content.php | 6 +++ includes/content/ContentHandler.php | 47 +++++++++++-------- includes/content/CssContent.php | 8 ++++ includes/content/CssContentHandler.php | 6 +++ includes/content/JavaScriptContent.php | 11 ++++- includes/content/JavaScriptContentHandler.php | 8 +++- includes/content/MessageContent.php | 16 +++++-- includes/content/TextContent.php | 11 +++-- includes/content/TextContentHandler.php | 9 +++- includes/content/WikitextContent.php | 8 ++++ includes/content/WikitextContentHandler.php | 9 +++- 12 files changed, 111 insertions(+), 34 deletions(-) diff --git a/includes/content/AbstractContent.php b/includes/content/AbstractContent.php index 386f55aee5..cab65a5f4c 100644 --- a/includes/content/AbstractContent.php +++ b/includes/content/AbstractContent.php @@ -25,6 +25,12 @@ * * @author Daniel Kinzler */ + +/** + * Base implementation for content objects. + * + * @ingroup Content + */ abstract class AbstractContent implements Content { /** diff --git a/includes/content/Content.php b/includes/content/Content.php index 35b51c346f..75ac5f2993 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -25,6 +25,12 @@ * * @author Daniel Kinzler */ + +/** + * Base interface for content objects. + * + * @ingroup Content + */ interface Content { /** diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index cff49dfab7..2e9052854e 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -1,7 +1,34 @@